driver/ipab_ioboard.h File Reference


Defines

#define IPAB_FFWD   0
#define IPAB_SFWD   1
#define IPAB_STOP   2
#define IPAB_FREV   3
#define IPAB_SREV   4
#define LED1   0x01
#define LED2   0x02
#define LED3   0x04
#define LED4   0x08
#define LED5   0x10
#define LED6   0x20
#define LED7   0x40
#define LED8   0x80
#define IPAB_OFF   0
#define IPAB_ON   1
#define IPAB_TOGGLE   2
#define IPAB_ALLOFF   3
#define IPAB_ALLON   4

Functions

int ipab_ioboard_get_leds (BotDevice *device)
int ipab_ioboard_set_leds (BotDevice *device, int command, int led)
int ipab_ioboard_get_compass (BotDevice *device)

Define Documentation

#define IPAB_ALLOFF   3

#define IPAB_ALLON   4

#define IPAB_FFWD   0

motor commands

#define IPAB_FREV   3

#define IPAB_OFF   0

led commands

#define IPAB_ON   1

#define IPAB_SFWD   1

#define IPAB_SREV   4

#define IPAB_STOP   2

#define IPAB_TOGGLE   2

#define LED1   0x01

8 leds

#define LED2   0x02

#define LED3   0x04

#define LED4   0x08

#define LED5   0x10

#define LED6   0x20

#define LED7   0x40

#define LED8   0x80


Function Documentation

int ipab_ioboard_get_compass ( BotDevice device  ) 

int ipab_ioboard_get_leds ( BotDevice device  ) 

int ipab_ioboard_set_leds ( BotDevice device,
int  command,
int  led 
)


(c) 2006 Edinburgh Robotics Ltd.
Generated on Fri Feb 2 11:24:05 2007 for libbot by doxygen 1.5.1