Starter code for Georgia Tech ECE 2036 Summer 2014 Lab 2

Dependencies:   4DGL-uLCD-SE PinDetect mbed

Files at this revision

API Documentation at this revision

Comitter:
jlind6
Date:
Fri Jun 20 15:22:28 2014 +0000
Parent:
1:839d22d423bd
Commit message:
(Typo) On line 135, changed a vy to a vx.

Changed in this revision

main.cpp Show annotated file Show diff for this revision Revisions of this file
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;