setled.c File Reference

Function forgotten by Khepera's designers. More...

#include <korebot/korebot.h>
#include "setled.h"

Include dependency graph for setled.c:

Go to the source code of this file.

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

Function forgotten by Khepera's designers.

Allows controlling two LEDs on Khepera's behind.

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

Definition in file setled.c.


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