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.
Fork of OneWire by
Revision 2:e651dfd17be2, committed 2015-10-28
- Comitter:
- hudakz
- Date:
- Wed Oct 28 17:50:07 2015 +0000
- Parent:
- 0:acf75feb0947
- Child:
- 4:68746e80003d
- Commit message:
- read_bit function timing tuned
Changed in this revision
| OneWire.cpp | Show annotated file Show diff for this revision Revisions of this file |
--- 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;
