Laila Al Badwawi 200906179 SpaceInvaders I declare this my own independent work and understand the university rules on plagiarism.

Dependencies:   mbed

Revision:
128:a3f581b8461c
Parent:
54:095eae44895b
--- a/Gamepad/Gamepad.cpp	Sun May 05 15:33:46 2019 +0000
+++ b/Gamepad/Gamepad.cpp	Mon May 06 00:11:06 2019 +0000
@@ -24,7 +24,7 @@
 
     _vert(new AnalogIn(PTB10)),
     _horiz(new AnalogIn(PTB11)),
-    
+
     _buzzer(new PwmOut(PTC10)),
     _pot(new AnalogIn(PTB2)),
 
@@ -149,7 +149,7 @@
     }
 }
 
-// this method gets the nitude of the joystick movement
+// this method gets the magnitude of the joystick movement
 float Gamepad::get_mag()
 {
     Polar p = get_polar();