The System Module provides access to delay functions, leds and provides a system init function
| void system_delay |
( |
uint32_t |
msec | ) |
|
Sleeps for a certain amount of time
- Parameters
-
| msec | The number of milliseconds to sleep |
Initializes the system. Call this method at the start of your app_init() function and before using any system_* functions
- Returns
- true on success
Executes pending system events (like handling usb, timers etc). Call this somewhere in app_process().
| void system_toggle_led |
( |
| ) |
|
Toggles a Status Led. Use this function for debugging or to show activity