Engduino  3.1.0
A fun device for learning coding
Public Member Functions | Friends | List of all members
EngduinoLEDsClass Class Reference

Public Member Functions

 EngduinoLEDsClass ()
 Constructor. More...
 
void begin ()
 begin function - must be called before using other functions More...
 
void end ()
 end function - switch off the LEDs More...
 
void setLED (uint8_t LEDNumber, colour c)
 Set the colour of a single LED at maximum brightness. More...
 
void setLED (uint8_t LEDNumber, colour c, uint8_t brightness)
 Set an LED to a given colour/brightness. More...
 
void setLED (uint8_t LEDNumber, uint8_t r, uint8_t g, uint8_t b)
 Set an LED to a given point in the rgb space. More...
 
void setAll (colour c)
 Set the colour of all LEDs at maximum brightness. More...
 
void setAll (colour c, uint8_t brightness)
 Set all LEDs to a given colour/brightness. More...
 
void setAll (uint8_t r, uint8_t g, uint8_t b)
 Set all LEDs to a given point in the rgb space. More...
 
void setLEDs (colour c[16])
 Set the colour of all LEDs at maximum brightness from an array of individual values. More...
 
void setLEDs (colour colour[16], uint8_t brightness[16])
 Set all LEDs to a given colour/brightness from arrays of individual values. More...
 
void setLEDs (uint8_t r[16], uint8_t g[16], uint8_t b[16])
 Set all LEDs to a given point in the rgb space from arrays of individual values. More...
 
void setLEDs (uint8_t rgb[3][16])
 Set all LEDs to a given point in the rgb space a 2D array of individual values. The array is of form rgb[3][16]. More...
 
void setLEDs (uint8_t rgb[16][3])
 Set all LEDs to a given point in the rgb space a 2D array of individual values. The array is of form rgb[16][3]. More...
 

Friends

void TIMER4_COMPA_vect ()
 

The documentation for this class was generated from the following files: