upm
0.3.2
Sensor/Actuator repository for libmraa (v0.7.2)
|
API for the Olimex LoL array. More...
This file 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 |