Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Dependencies: 4DGL-uLCD-SE PinDetect mbed SparkfunAnalogJoystick mbed-rtos
Fork of ECE2036Lab2StarterCode by
Diff: main.cpp
- Revision:
- 2:6163865f5ce3
- Parent:
- 0:356124c0bafc
- Child:
- 3:591086e44bf9
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;
