Public for testMax31820

Dependents:   Sf18B20 DS18B20

Fork of OneWire by Zoltan Hudak

Files at this revision

API Documentation at this revision

Comitter:
hudakz
Date:
Sat Jan 07 11:20:08 2017 +0000
Parent:
4:68746e80003d
Child:
6:c328c5bdcac5
Commit message:
read_bit timing tuned to make it work on NUCLEO boards using the latest mbed revision.

Changed in this revision

OneWire.cpp Show annotated file Show diff for this revision Revisions of this file
--- 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;