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: main.cpp
- Revision:
- 3:1db119f74ecb
- Parent:
- 2:f9ec340630b0
- Child:
- 4:d53cb2045ee8
diff -r f9ec340630b0 -r 1db119f74ecb main.cpp
--- a/main.cpp	Thu Jun 22 15:08:07 2017 +0000
+++ b/main.cpp	Thu Jun 29 09:49:32 2017 +0000
@@ -29,8 +29,8 @@
     robot.lcd_goto_xy(0,1);
     robot.lcd_print("Task 1",6);
 
-    // we will update the motors 50 times per second
-    float dt = 1.0/50.0;
+    // we will update the motors 100 times per second
+    float dt = 1.0/100.0;
 
     calibrate();  // calibrate the sensors