![](/media/cache/group/default_image.jpg.50x50_q85.jpg)
main
Dependencies: Stepper mbed Ultrasonic PinDetect millis
Diff: main.cpp
- Revision:
- 7:2c70830e0f36
- Parent:
- 6:6ca8a0ef7d4a
- Child:
- 8:a7b443aee89b
--- a/main.cpp Fri Jan 18 00:05:40 2019 +0000 +++ b/main.cpp Fri Jan 18 00:08:10 2019 +0000 @@ -245,7 +245,7 @@ long Duration = 0; long StartTime = millis(); - while(magnetSwitch == 1 && Duration <= 48000 ) + while(magnetSwitch == 1 && Duration <= 60000 ) { in1=0; in2=1; @@ -261,7 +261,7 @@ { in1=1; in2=0; - wait(56); + wait(58); in1=1; in2=1; }