So I rewrote the 1-Wire read_bit and write_bit functions to achieve much more precise timing:
Read timings, showing a delay of 8us between pulling to low and rising to high again (6us in 1-Wire spec). Previously this was something like 15 to 20us.
Write timings, also showing a delay of 8us between pulling to low and rising to high again (also 6us in 1-Wire spec).
So I rewrote the 1-Wire
Read timings, showing a delay of 8us between pulling to low and rising to high again (6us in 1-Wire spec). Previously this was something like 15 to 20us.
read_bit
andwrite_bit
functions to achieve much more precise timing: