Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Diff: OneWire.cpp
- Revision:
- 5:45f3eb39b00c
- Parent:
- 4:68746e80003d
- Child:
- 6:d6e084297fb9
diff -r 68746e80003d -r 45f3eb39b00c OneWire.cpp
--- 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;