|
upm
0.3.1
Sensor/Actuator repository for libmraa (v0.7.2)
|
API for Olimex LoL array. More...
This file defines the LoL API and implementation for a simple frame buffer.
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 | ( | ) |
Get framebuffer pointer
| unsigned char getPixel | ( | int | x, |
| int | y | ||
| ) |
Gets pixel at coordinates
| x | coordinate x |
| y | coordinate y |
| unsigned char setPixel | ( | int | x, |
| int | y, | ||
| unsigned char | pixel | ||
| ) |
sets pixel at coordinates
| x | coordinate x |
| y | coordinate y |
| pixel | 0 is off, 1 is on |
1.8.9.1