NervousPuppySprintTwo
Dependencies: C12832_lcd Servo USBHost mbed
Fork of USBHostSerial_HelloWorld by
Revision 10:0aa55bd3be36, committed 2015-03-10
- Comitter:
- petermcgorry
- Date:
- Tue Mar 10 20:20:39 2015 +0000
- Parent:
- 9:ea3cfd16b4d9
- Commit message:
- rev 8/2/15
Changed in this revision
main.cpp | Show annotated file Show diff for this revision Revisions of this file |
--- 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);