smurfix / owslave

1wire slave code for AVRs
http://wiki.github.com/smurfix/owslave/
GNU General Public License v3.0
65 stars 20 forks source link

fixed broken SEARCH_ROM #6

Closed jan-lugfl closed 9 years ago

jan-lugfl commented 9 years ago

seems like the change to OWW_NO_WRITE was unintentional as the correct value was stil in comment.

jan-lugfl commented 9 years ago

I actually ended up there as the wrtite of the first bit after detedting the SEARCH_ROM in do_select() never happened on my ATMega328. Only the complementary bit seems to be written on the bus, which totally confuses the master.

Might be the timer is hitting again too early so it resets wmode before it get written...

smurfix commented 9 years ago

Please test the current code. Note that this has moved to https://github.com/m-o-a-t