This is some awesome robot code

Dependencies:   mbed-rtos mbed QEI

Fork of ICRSEurobot13 by Thomas Branch

System/system.h

Committer:
madcowswe
Date:
2013-04-16
Revision:
87:272a7129b04b
Parent:
28:4e20b44251c6

File content as of revision 87:272a7129b04b:


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);