The BLOCKS SDK
BitmapLEDProgram Struct Reference

Description

A simple Program to set the colours of individual LEDs.

+ Inheritance diagram for BitmapLEDProgram:

Public Member Functions

 BitmapLEDProgram (Block &)
 
void setLED (uint32 x, uint32 y, LEDColour)
 Set the colour of the LED at coordinates {x, y}. More...
 
- Public Member Functions inherited from Block::Program
 Program (Block &)
 Creates a Program for the corresponding LEDGrid. More...
 
virtual ~Program ()
 Destructor. More...
 

Additional Inherited Members

- Public Attributes inherited from Block::Program
Blockblock
 

Constructor & Destructor Documentation

§ BitmapLEDProgram()

BitmapLEDProgram::BitmapLEDProgram ( Block )

Member Function Documentation

§ setLED()

void BitmapLEDProgram::setLED ( uint32  x,
uint32  y,
LEDColour   
)

Set the colour of the LED at coordinates {x, y}.


The documentation for this struct was generated from the following file: