LoL Class
- ID: lol
- Name: Lots of LEDs ( LoL ) Array Rev A
- Category: display
- Manufacturer: adafruit
- Connection: gpio
This module defines the LoL API and implementation for a simple framebuffer.
Item Index
Methods
Methods
LoL
()
Number
Instantiates an LoL object singleton
Returns:
Number:
getFramebuffer
()
String
Gets a framebuffer pointer
Returns:
String:
0 if successful
getPixel
(
Boolean
-
x
-
y
Gets a pixel at specified coordinates
Parameters:
-
x
NumberCoordinate x
-
y
NumberCoordinate y
Returns:
Boolean:
true if the pixel is on, false if off
setPixel
(
-
x
-
y
-
pixel
Sets a pixel at specified coordinates
Parameters:
-
x
NumberCoordinate x
-
y
NumberCoordinate y
-
pixel
Booleanfalse is off, true is on