refactoring

This commit is contained in:
2026-01-27 17:50:50 +01:00
parent 3936402e42
commit cbfe305e9d
5 changed files with 20 additions and 37 deletions
-14
View File
@@ -16,26 +16,12 @@
#define PANEL_PIXEL_COUNT 16
#define PANEL_COUNT 3
#define NUMPIXELS PANEL_PIXEL_COUNT*PANEL_PIXEL_COUNT*PANEL_COUNT
#define TEXT_BUFFOR_SIZE 64
Adafruit_NeoPixel pixels(NUMPIXELS, PIN, NEO_GRB + NEO_KHZ800);
ScrollableTextData scrollableTexts[4] = {0};
unsigned char scrollableTextsCount = 0;
char rightTextBuffor[TEXT_BUFFOR_SIZE] = {0};
void writeSmallScrollabreTextInBuffor(char (*text)[TEXT_BUFFOR_SIZE + 1], pos_y = 0) {
for (unsigned char i = 0; i < TEXT_BUFFOR_SIZE; i++) {
if (text[i]) {
unsigned char text_iterator
while()
}
}
}
void setup() {
Serial.begin(115200);