|
upm
0.4.0
Sensor/Actuator repository for libmraa (v0.8.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 () |
| unsigned char | getPixel (int x, int y) |
| unsigned char | setPixel (int x, int y, unsigned char pixel) |
| unsigned char * getFramebuffer | ( | ) |
Gets a framebuffer pointer
| unsigned char getPixel | ( | int | x, |
| int | y | ||
| ) |
Gets a pixel at specified coordinates
| x | Coordinate x |
| y | Coordinate y |
| unsigned char setPixel | ( | int | x, |
| int | y, | ||
| unsigned char | pixel | ||
| ) |
Sets a pixel at specified coordinates
| x | Coordinate x |
| y | Coordinate y |
| pixel | 0 is off, 1 is on |
1.8.9.1