This is some awesome robot code
Dependencies: mbed-rtos mbed QEI
Fork of ICRSEurobot13 by
Diff: System/system.h
- Revision:
- 28:4e20b44251c6
diff -r 664e81033846 -r 4e20b44251c6 System/system.h --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/System/system.h Wed Apr 10 04:20:40 2013 +0000 @@ -0,0 +1,6 @@ + +extern Timer SystemTime; +extern float CpuUsage; //1.0f = completely busy, 0.0f = completely idle + +//run this on an "idle" priority thread to measure cpu usage +void measureCPUidle (void const* = NULL);