-
Notifications
You must be signed in to change notification settings - Fork 0
LED
Josh Perriman edited this page Aug 2, 2018
·
1 revision
The LED library can be used to easily set the colour of the RGB led on the board. This LED can be very useful for debugging code by displaying the current state of the board as a colour on the LED.
void RGBinit();Takes no inputs and returns nothing. This function must be called first to setup the pins on the board as outputs for the LED.
void RGBset(enum colour col);Takes a colour as an input and returns nothing.
The available colours are:
- OFF
- BLUE
- GREEN
- CYAN
- RED
- PINK
- WHITE
RGBset(PINK);