Albert Tan-Mulligan / Mbed 2 deprecated ELEC2645_Project_el18ajst

Dependencies:   mbed

Revision:
3:fcc9cf213a61
Parent:
2:c25ec0da7636
Child:
4:b16b6078a432
--- a/Character/Character.cpp	Sun May 17 12:34:15 2020 +0000
+++ b/Character/Character.cpp	Mon May 18 11:38:28 2020 +0000
@@ -66,8 +66,8 @@
 {
     _speed = int(mag*2.0f); //scale of speed
     
-    //printf statements with char to convert
-    pcc.printf("speed = %d \n", _speed);
+    //printf statements for speed
+    //pcc.printf("speed = %d \n", _speed);
     
     // update x and y value depending on direction of movement
     // Set direction and speed according to north south directions
@@ -85,8 +85,8 @@
         _dir = 3;
     }
     //testing _x and _y
-    pcc.printf("x = %d \n", _x);
-    pcc.printf("y = %d \n", _y);
+    //pcc.printf("x = %d \n", _x);
+    //pcc.printf("y = %d \n", _y);
     
     // check the x and y position] to ensure that the paddle doesn't go off screen
     if (_x < 1) {