Usada bajo permiso del autor tony63
Fork of Pulse1 by
Diff: Pulse1.cpp
- Revision:
- 2:a91e76505e52
- Parent:
- 1:48651f86a80c
diff -r 48651f86a80c -r a91e76505e52 Pulse1.cpp --- a/Pulse1.cpp Thu Nov 07 03:34:00 2013 +0000 +++ b/Pulse1.cpp Sat Nov 07 22:07:03 2015 +0000 @@ -57,10 +57,13 @@ int PulseInOut::read_low_us() { pulsetime.reset(); io.input(); - while (io == 0) { + Temp1.start(); + while (io == 0 ) { } + while (io == 1) { } + pulsetime.start(); while (io == 0) { }