Classes | Defines | Enumerations

qeleds.h File Reference

#include <sys/time.h>
#include "9302hw.h"
#include "singleton.h"

Go to the source code of this file.

Classes

class  CQELEDController
 CQELEDController controls the 3 tri-color LEDs on the VEXPro. More...

Defines

#define QEL_NUM_LEDS   3
#define QEL_NUM_COLORS   5
#define QEL_DEFAULT_ADDR   0x4c0
#define QEL_GREEN   0xff00
#define QEL_RED   0x00ff
#define QEL_YELLOW   0xff10
#define QEL_ORANGE   0xff40

Enumerations

enum  ELEDIndex { LED_GAME = 0, LED_VEXNET, LED_ROBOT }
 

The three LED's on the VEXPro.

More...
enum  ELEDColor {
  LED_COLOR_OFF = 0, LED_COLOR_RED, LED_COLOR_GREEN, LED_COLOR_YELLOW,
  LED_COLOR_ORANGE
}
 

The possible colors of each of the 3 LEDs on the VEXPro.

More...
enum  ELEDMode {
  LED_SOLID, LED_SLOW_BLINK, LED_FAST_BLINK, LED_1BLIP,
  LED_2BLIP
}
 

The possible blinking modes of the 3 LEDs on the VEXPro.

More...

Define Documentation

#define QEL_DEFAULT_ADDR   0x4c0
#define QEL_GREEN   0xff00
#define QEL_NUM_COLORS   5
#define QEL_NUM_LEDS   3
#define QEL_ORANGE   0xff40
#define QEL_RED   0x00ff
#define QEL_YELLOW   0xff10

Enumeration Type Documentation

enum ELEDColor

The possible colors of each of the 3 LEDs on the VEXPro.

Enumerator:
LED_COLOR_OFF 
LED_COLOR_RED 
LED_COLOR_GREEN 
LED_COLOR_YELLOW 
LED_COLOR_ORANGE 
enum ELEDIndex

The three LED's on the VEXPro.

Enumerator:
LED_GAME 
LED_VEXNET 
LED_ROBOT 
enum ELEDMode

The possible blinking modes of the 3 LEDs on the VEXPro.

These modes are not supported as of this writing.

Enumerator:
LED_SOLID 
LED_SLOW_BLINK 
LED_FAST_BLINK 
LED_1BLIP 
LED_2BLIP