![]() |
roneos
Operating System for the r-one robot
|
Functions that control the blinky_led {heartbeat, System, Charge, Power}. More...
Go to the source code of this file.
Functions | |
void | blinky_led_init (void) |
Initializes blinky. More... | |
void | blinkyLedSet (uint32 state) |
Sets the blinky on or off. More... | |
void | blinky_led_flash (uint32 delay) |
Flashes the blinky once with delay. More... | |
void | blinkyUpdateFast (void) |
Updates the blinky with a fast rate. More... | |
void | blinkyUpdate (void) |
Updates the blinky. More... | |
void | blinkySystemUpdate (void) |
Update blinky system. More... | |
void | blinkySystemBuildMessage (uint8 *msg) |
Build message for blinky. More... | |
Functions that control the blinky_led {heartbeat, System, Charge, Power}.
void blinky_led_flash | ( | uint32 | delay) |
Flashes the blinky once with delay.
Flashes the blinky once (turns it on and then off) with a specified delay in between).
delay | determines how long the delay is |
void blinky_led_init | ( | void | ) |
Initializes blinky.
Initializes blinky with port B, pin 6 as output. Blinky is turned off with initialization.
void blinkyLedSet | ( | uint32 | state) |
Sets the blinky on or off.
state | determines whether the pin should be on or off (send 1 to turn on, 0 to turn off) |
void blinkySystemBuildMessage | ( | uint8 * | msg) |
Build message for blinky.
Initializes message to specific brightness.
msg | pointer for message |
void blinkySystemUpdate | ( | void | ) |
Update blinky system.
Update both the blinky system timer and the brightness.
void blinkyUpdate | ( | void | ) |
Updates the blinky.
Updates the blinky timer and turns blinky on or off depending on the timer.
void blinkyUpdateFast | ( | void | ) |
Updates the blinky with a fast rate.
Updates the blinky timer and turns blinky on or off depending on the timer.