CQELEDController controls the 3 tri-color LEDs on the VEXPro. More...
#include <qeleds.h>
Public Member Functions | |
| SINGLETON (CQELEDController) | |
| This internal macro handles the instantiation of this class. | |
| void | SetLED (ELEDIndex led, ELEDColor color) |
| Set the color of the LED. | |
CQELEDController controls the 3 tri-color LEDs on the VEXPro.
To instantiate this class:
// by pointer CQELEDController *pled = CQELEDController::GetPtr(); // or by reference CQELEDController &led = CQELEDController::GetRef();
And when done with this class, call Release(), for each call to GetPtr() or GetRef():
Set the color of the LED.
| led | the LED you wish to set. | |
| color | the color you wish to set it to. |
| CQELEDController::SINGLETON | ( | CQELEDController | ) |
This internal macro handles the instantiation of this class.
1.7.1