NervousPuppySprintTwo
Dependencies: C12832_lcd Servo USBHost mbed
Fork of USBHostSerial_HelloWorld by
Diff: main.cpp
- Revision:
- 10:0aa55bd3be36
- Parent:
- 9:ea3cfd16b4d9
--- a/main.cpp Thu Mar 05 16:26:57 2015 +0000 +++ b/main.cpp Tue Mar 10 20:20:39 2015 +0000 @@ -3,9 +3,9 @@ #include "C12832_lcd.h" #include "Servo.h" -#define RCOUNTERTIME if(posx<=1500) posx+=40; -#define RTIME if(posx>=500) posx-=40; -#define TILTBACK if(posy>=500) posy-=40; +#define RTIME if(posx<=1500) posx+=40; +#define RCOUNTERTIME if(posx>=500) posx-=40; +#define TILTBACK if(posy>=500) posy-=40; #define TILTFORW if(posy<=1300) posy+=40; #define TEMPORARY rotate.SetPosition(posx); tilt.SetPosition(posy);