dit is em
Dependencies: mbed
Diff: main.cpp
- Revision:
- 5:f49c7b6e8bcc
- Parent:
- 4:038346651cc0
- Child:
- 6:6659a8ada914
diff -r 038346651cc0 -r f49c7b6e8bcc main.cpp --- a/main.cpp Mon Feb 27 20:51:53 2017 +0000 +++ b/main.cpp Tue Feb 28 10:36:50 2017 +0000 @@ -11,6 +11,11 @@ int main() { while(1) { if ( Sensor >= 100) { + Motor1 = 0 ; + Motor2 = 1 ; + Motor3 = 0 ; + Motor4 = 1 ; + wait_ms (500); Motor1 = 1 ; Motor2 = 0 ; Motor3 = 0 ;