Revo onewire library, changes to work on FRDM-K22
Fork of OneWire by
Diff: OneWire.cpp
- Revision:
- 5:45f3eb39b00c
- Parent:
- 4:68746e80003d
- Child:
- 6:28e60d774095
--- a/OneWire.cpp Wed Oct 28 17:55:11 2015 +0000 +++ b/OneWire.cpp Sat Jan 07 11:20:08 2017 +0000 @@ -185,9 +185,9 @@ wire.output(); wire = 0; - wait_us(1); + //wait_us(1); wire.input(); - wait_us(6); + wait_us(5); r = wire.read(); wait_us(54); return r;