#include <LED_DisPlay.h>
|
| | LED_DisPlay () |
| |
| | ~LED_DisPlay () |
| |
| void | begin (uint8_t LEDNumber=NUM_LEDS) |
| |
| void | run (void *data) |
| |
| void | animation (uint8_t *buffptr, uint8_t amspeed, uint8_t ammode, int64_t amcount=-1) |
| |
| void | displaybuff (uint8_t *buffptr, int32_t offsetx=0, int32_t offsety=0) |
| |
| void | setBrightness (uint8_t brightness) |
| |
| void | drawpix (uint8_t xpos, uint8_t ypos, CRGB Color) |
| |
| void | drawpix (uint8_t Number, CRGB Color) |
| |
| void | fillpix (CRGB Color) |
| |
| void | clear () |
| |
| boolean | animationrunning () |
| |
| void | setWidthHeight (uint16_t xColumns, uint16_t yRows) |
| |
| | Task (std::string taskName="task", uint16_t taskSize=10240, uint8_t priority=5) |
| |
| | ~Task () |
| |
| void | start (void *taskData=nullptr) |
| |
| void | stop () |
| |
| void | delay (int ms) |
| |
| virtual void | run (void *data)=0 |
| |
| void | setTaskSize (uint16_t size) |
| |
| void | setTaskPriority (uint8_t priority) |
| |
| void | setTaskName (std::string name) |
| |
| void | setCore (BaseType_t coreID) |
| |
Definition at line 17 of file LED_DisPlay.h.
◆ anonymous enum
| Enumerator |
|---|
| kStatic | |
| kAnimation_run | |
| kAnimation_stop | |
| kAnimation_frush | |
Definition at line 35 of file LED_DisPlay.h.
◆ anonymous enum
| Enumerator |
|---|
| kMoveRight | |
| kMoveLeft | |
| kMoveTop | |
| kMoveBottom | |
Definition at line 42 of file LED_DisPlay.h.
◆ LED_DisPlay()
| LED_DisPlay::LED_DisPlay |
( |
| ) |
|
Code is from M5Atom.h object, but refactored to be it's own object
Definition at line 10 of file LED_DisPlay.cpp.
◆ ~LED_DisPlay()
| LED_DisPlay::~LED_DisPlay |
( |
| ) |
|
◆ animation()
| void LED_DisPlay::animation |
( |
uint8_t * |
buffptr, |
|
|
uint8_t |
amspeed, |
|
|
uint8_t |
ammode, |
|
|
int64_t |
amcount = -1 |
|
) |
| |
◆ animationrunning()
| boolean LED_DisPlay::animationrunning |
( |
| ) |
|
◆ begin()
| void LED_DisPlay::begin |
( |
uint8_t |
LEDNumber = NUM_LEDS | ) |
|
◆ clear()
| void LED_DisPlay::clear |
( |
| ) |
|
◆ displaybuff()
| void LED_DisPlay::displaybuff |
( |
uint8_t * |
buffptr, |
|
|
int32_t |
offsetx = 0, |
|
|
int32_t |
offsety = 0 |
|
) |
| |
◆ drawpix() [1/2]
| void LED_DisPlay::drawpix |
( |
uint8_t |
Number, |
|
|
CRGB |
Color |
|
) |
| |
◆ drawpix() [2/2]
| void LED_DisPlay::drawpix |
( |
uint8_t |
xpos, |
|
|
uint8_t |
ypos, |
|
|
CRGB |
Color |
|
) |
| |
◆ fillpix()
| void LED_DisPlay::fillpix |
( |
CRGB |
Color | ) |
|
◆ run()
| void LED_DisPlay::run |
( |
void * |
data | ) |
|
|
virtual |
◆ setBrightness()
| void LED_DisPlay::setBrightness |
( |
uint8_t |
brightness | ) |
|
◆ setWidthHeight()
| void LED_DisPlay::setWidthHeight |
( |
uint16_t |
xColumns, |
|
|
uint16_t |
yRows |
|
) |
| |
| enum { ... } LED_DisPlay::Am_mode |
◆ Brightness
| uint8_t LED_DisPlay::Brightness = 40 |
| enum { ... } LED_DisPlay::Dismode |
The documentation for this class was generated from the following files: