setled.h File Reference

Definitions needed to use the programmable LEDs on Kheperas behind. More...

This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Enumerations

enum  Kh3Led { Kh3LedRed = 0, Kh3LedGreen = 1 }
 LED selectors. More...
enum  Kh3LedMode { Kh3LedOn = 0, Kh3LedOff = 1, Kh3LedChange = 2 }
 LED modes. More...

Functions

int kh3_set_led (unsigned char ledIndex, unsigned char ledStatus, knet_dev_t *hDev)
 Sets the programmatic leds on Khepera's back.


Detailed Description

Definitions needed to use the programmable LEDs on Kheperas behind.

Version:
Id
setled.h,v 1.5 2008/09/18 12:59:03 prokop Exp

Definition in file setled.h.


Enumeration Type Documentation

enum Kh3Led

LED selectors.

Enumerator:
Kh3LedRed 
Kh3LedGreen 

Definition at line 30 of file setled.h.

enum Kh3LedMode

LED modes.

Enumerator:
Kh3LedOn 
Kh3LedOff 
Kh3LedChange 

Definition at line 36 of file setled.h.


Function Documentation

int kh3_set_led ( unsigned char  ledIndex,
unsigned char  ledStatus,
knet_dev_t *  hDev 
)

Sets the programmatic leds on Khepera's back.

Parameters:
ledIndex Which LED to set (see Kh3Led)
ledStatus Which status to set (see Kh3LedMode)
hDev Khepera device
Returns:
0 on success, anything else on error

Definition at line 30 of file setled.c.


Generated on Sun Sep 28 21:20:01 2008 for Guard by  doxygen 1.5.6