Giter VIP home page Giter VIP logo

Comments (14)

tomaskovacik avatar tomaskovacik commented on September 16, 2024

attiny85 at 8MHz ?

from vwcdavr.

lachaka avatar lachaka commented on September 16, 2024

yep

from vwcdavr.

tomaskovacik avatar tomaskovacik commented on September 16, 2024

try this sketch on atmega328

from vwcdavr.

lachaka avatar lachaka commented on September 16, 2024

Nothing happens, I even don't get "No CDC"

from vwcdavr.

tomaskovacik avatar tomaskovacik commented on September 16, 2024

try uncoment //_delay_loop_1(40); on lines 1134 and 1158

from vwcdavr.

lachaka avatar lachaka commented on September 16, 2024

Now on atmega328 is working, on attiny is the same

from vwcdavr.

tomaskovacik avatar tomaskovacik commented on September 16, 2024

are you using HW pin 7,6 and 5 ?
DataOut -> 7 (INT0)
DataIn -> 6 (PB0)
Clock -> 5 (PB1)

from vwcdavr.

lachaka avatar lachaka commented on September 16, 2024

Yes, but pin 5 is PB0 and 6 is PB1. Anyway after slapping still not success.

from vwcdavr.

tomaskovacik avatar tomaskovacik commented on September 16, 2024

yep, pb0 is 5, but it strange, anyway I cannot help you more right now, I will test it tomorow
t.

from vwcdavr.

lachaka avatar lachaka commented on September 16, 2024

No worries. When the radio is powered off I got "00" dataerr and on powering it up another ones but a little bit different, if helpful.

from vwcdavr.

tomaskovacik avatar tomaskovacik commented on September 16, 2024

I just test code as it was (no delay when clocking out data) and it works without problem, but I put defined 5microseconds delay there so it is same as 3timer version. Anyway,here is output:
image

from vwcdavr.

tomaskovacik avatar tomaskovacik commented on September 16, 2024

20200929_085140.jpg

from vwcdavr.

lachaka avatar lachaka commented on September 16, 2024

Now the CDC is detected and I got all six CDs, but after clicking two or three times any button the radio blocks and got dataerr in serial monitor. Maybe some other delays are needed.

from vwcdavr.

tomaskovacik avatar tomaskovacik commented on September 16, 2024

and what you did exactly? , as you can see I got to track 15 so -> 30 commands, got through.

you can play with CLK_DELAY value

lot of times, bad ground connection is problem. check that also

from vwcdavr.

Related Issues (17)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.