Revo onewire library, changes to work on FRDM-K22
Fork of OneWire by
Diff: OneWire.cpp
- Revision:
- 2:e651dfd17be2
- Parent:
- 0:acf75feb0947
- Child:
- 4:68746e80003d
--- a/OneWire.cpp Sun Mar 15 14:13:55 2015 +0000 +++ b/OneWire.cpp Wed Oct 28 17:50:07 2015 +0000 @@ -185,9 +185,9 @@ wire.output(); wire = 0; - wait_us(2); + wait_us(1); wire.input(); - wait_us(9); + wait_us(6); r = wire.read(); wait_us(54); return r;