3#include "../../Defines.h"
11#include <freertos/FreeRTOS.h>
12#include <freertos/task.h>
17class LED_DisPlay :
public Task
20 CRGB _ledbuff[NUM_LEDS];
26 int32_t _count_x, _count_y;
27 int32_t _am_count = -1;
30 uint16_t _xColumns = 6;
32 SemaphoreHandle_t _xSemaphore = NULL;
50 uint8_t Brightness = 40;
58 void begin(uint8_t LEDNumber = NUM_LEDS);
61 void animation(uint8_t *buffptr, uint8_t amspeed, uint8_t ammode, int64_t amcount = -1);
62 void displaybuff(uint8_t *buffptr, int32_t offsetx = 0, int32_t offsety = 0);
64 void setBrightness(uint8_t brightness);
65 void drawpix(uint8_t xpos, uint8_t ypos, CRGB Color);
66 void drawpix(uint8_t Number, CRGB Color);
67 void fillpix(CRGB Color);
69 boolean animationrunning();
70 void setWidthHeight(uint16_t xColumns, uint16_t yRows);
73 void _displaybuff(uint8_t *buffptr, int32_t offsetx = 0, int32_t offsety = 0);