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.
Dependencies: EMG HIDScope PID QEI mbed TextLCD
Diff: inits.h
- Revision:
- 9:3e19a344c025
- Parent:
- 8:b0971033dc41
- Child:
- 10:819fb5288aa0
--- a/inits.h Mon Oct 26 11:15:31 2015 +0000 +++ b/inits.h Mon Oct 26 14:26:13 2015 +0000 @@ -44,8 +44,10 @@ //////// Timers //////////// //////////////////////////// Ticker scopeTimer; -Timer endTimer; +Timer playTimer; Ticker motorControlTicker; +Ticker lcdTicker; +bool lcdGoFlag=false; bool goFlag=false; bool systemOn=false; bool initposition_go=false; @@ -77,7 +79,7 @@ float grenslaag=0.3; float grenshoog=0.7; float round=27720; -float maxspeed=0.5; //cm/sec +float maxspeed=1; //cm/sec float currentX; float currentY; float l=57; @@ -86,6 +88,7 @@ float toLeftAngle; float toRightAngle; float M_PI=3.14159265359; +string text; ////////////////////////////////// ////// initialize functions //////