API for the Olimex LoL array.
More...
- ID: lol
- Name: Olimex LoL Array
- Category: display
- Manufacturer: adafruit
- Connection: gpio
This module defines the LoL API and implementation for a simple framebuffer.
Instantiates an LoL object singleton
unsigned char * getFramebuffer |
( |
| ) |
|
Gets a framebuffer pointer
- Returns
- 0 if successful
bool getPixel |
( |
int |
x, |
|
|
int |
y |
|
) |
| |
Gets a pixel at specified coordinates
- Parameters
-
x | Coordinate x |
y | Coordinate y |
- Returns
- true if the pixel is on, false if off
- Exceptions
-
std::invalid_argument | if pixel is out of bounds |
void setPixel |
( |
int |
x, |
|
|
int |
y, |
|
|
bool |
pixel |
|
) |
| |
Sets a pixel at specified coordinates
- Parameters
-
x | Coordinate x |
y | Coordinate y |
pixel | false is off, true is on |
- Exceptions
-
std::invalid_argument | if pixel is out of bounds |
The documentation for this class was generated from the following files:
- /iotdk/jenkins/workspace/upm-doc-stable/src/lol/lol.h
- /iotdk/jenkins/workspace/upm-doc-stable/src/lol/lol.cxx