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.
Dependents: DS1825 DISCO-F746-Dessiccateur-V1 watersenor_and_temp_code DS1820 ... more
Revision 14:12b783661ff4, committed 2020-07-19
- Comitter:
- hudakz
- Date:
- Sun Jul 19 19:27:09 2020 +0000
- Parent:
- 13:016b84669050
- Child:
- 15:7f7759008807
- Commit message:
- Dallas' 1-Wire bus protocol library
Changed in this revision
| OneWire.cpp | Show annotated file Show diff for this revision Revisions of this file |
--- a/OneWire.cpp Thu Apr 04 20:46:58 2019 +0000
+++ b/OneWire.cpp Sun Jul 19 19:27:09 2020 +0000
@@ -200,9 +200,10 @@
WAIT_US(SAMPLE_POINT - t);
r = READ();
timer.stop();
+ WAIT_US(55);
+ //printf("t = %d\r\n", t);
+ //printf("t1 = %d\r\n", timer.read_us() - t);
timer.reset();
- WAIT_US(55);
- //printf("t = %d\r\n", t);
return r;
}