Revo onewire library, changes to work on FRDM-K22
Fork of OneWire by
Diff: OneWire.cpp
- Revision:
- 3:441f7a221b92
- Parent:
- 1:ca126d554161
- Child:
- 4:68746e80003d
--- a/OneWire.cpp Sun Jun 07 09:07:30 2015 +0000 +++ b/OneWire.cpp Wed Oct 28 17:52:01 2015 +0000 @@ -185,9 +185,9 @@ wire.output(); wire = 0; - wait_us(2); + wait_us(1); wire.input(); - wait_us(7); + wait_us(6); r = wire.read(); wait_us(54); return r;