![](/media/cache/img/default_profile.jpg.50x50_q85.jpg)
Starter code for Georgia Tech ECE 2036 Summer 2014 Lab 2
Dependencies: 4DGL-uLCD-SE PinDetect mbed
Diff: main.cpp
- Revision:
- 2:6163865f5ce3
- Parent:
- 0:356124c0bafc
diff -r 839d22d423bd -r 6163865f5ce3 main.cpp --- a/main.cpp Thu Jun 19 21:45:38 2014 +0000 +++ b/main.cpp Fri Jun 20 15:22:28 2014 +0000 @@ -132,7 +132,7 @@ { vySign = -vySign; } - if (((fx+vxSign*vx >= cornerX) && (fx+vxSign*vy <= cornerX+3)) && + if (((fx+vxSign*vx >= cornerX) && (fx+vxSign*vx <= cornerX+3)) && ((fy+vySign*vy>=cornerY) && (fy+vySign*vy<=cornerY+length))) { vySign = -vySign;