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: BalancingRobot.h
- Revision:
- 8:87dd9d5f7001
- Parent:
- 7:f1d24c6119ac
diff -r f1d24c6119ac -r 87dd9d5f7001 BalancingRobot.h --- a/BalancingRobot.h Mon Apr 09 21:40:47 2012 +0000 +++ b/BalancingRobot.h Fri Apr 13 19:45:25 2012 +0000 @@ -54,7 +54,7 @@ double iTerm; /* Used for timing */ -long timer; +unsigned long timer; const long STD_LOOP_TIME = 10*1000; // Fixed time loop of 10 milliseconds long lastLoopTime = STD_LOOP_TIME;