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.
Diff: Character/Character.cpp
- Revision:
 - 3:fcc9cf213a61
 - Parent:
 - 2:c25ec0da7636
 - Child:
 - 4:b16b6078a432
 
diff -r c25ec0da7636 -r fcc9cf213a61 Character/Character.cpp
--- 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) {