| 
    upm
    1.3.0
    
   Sensor/Actuator repository for libmraa (v1.7.0) 
   | 
 
API for the Olimex LoL array. More...
This module defines the LoL API and implementation for a simple framebuffer.
Public Member Functions | |
| LoL () | |
| ~LoL () | |
| unsigned char * | getFramebuffer () | 
| bool | getPixel (int x, int y) | 
| void | setPixel (int x, int y, bool pixel) | 
| unsigned char * getFramebuffer | ( | ) | 
Gets a framebuffer pointer
| bool getPixel | ( | int | x, | 
| int | y | ||
| ) | 
Gets a pixel at specified coordinates
| x | Coordinate x | 
| y | Coordinate y | 
| std::invalid_argument | if pixel is out of bounds | 
| void setPixel | ( | int | x, | 
| int | y, | ||
| bool | pixel | ||
| ) | 
Sets a pixel at specified coordinates
| x | Coordinate x | 
| y | Coordinate y | 
| pixel | false is off, true is on | 
| std::invalid_argument | if pixel is out of bounds | 
 1.8.6