roneos
Operating System for the r-one robot
 All Data Structures Files Functions Variables Typedefs Groups
blinky_led.h File Reference

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...
 

Detailed Description

Functions that control the blinky_led {heartbeat, System, Charge, Power}.

Since
Mar 26, 2011
Author
James McLurkin

Function Documentation

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

Parameters
delaydetermines how long the delay is
Returns
void
void blinky_led_init ( void  )

Initializes blinky.

Initializes blinky with port B, pin 6 as output. Blinky is turned off with initialization.

Returns
void
void blinkyLedSet ( uint32  state)

Sets the blinky on or off.

Parameters
statedetermines whether the pin should be on or off (send 1 to turn on, 0 to turn off)
Returns
void
void blinkySystemBuildMessage ( uint8 *  msg)

Build message for blinky.

Initializes message to specific brightness.

Parameters
msgpointer for message
Returns
void
void blinkySystemUpdate ( void  )

Update blinky system.

Update both the blinky system timer and the brightness.

Returns
void
void blinkyUpdate ( void  )

Updates the blinky.

Updates the blinky timer and turns blinky on or off depending on the timer.

Returns
void
void blinkyUpdateFast ( void  )

Updates the blinky with a fast rate.

Updates the blinky timer and turns blinky on or off depending on the timer.

Returns
void