text can be scrolled without abstract functions, handle_server is not async

This commit is contained in:
2026-01-28 11:59:26 +01:00
parent b0e45dab7d
commit 2870ba7386
2 changed files with 3 additions and 2 deletions
+2 -1
View File
@@ -74,13 +74,14 @@ void setup()
addNewTextNode("TEst", 0x0001700, 0, 0, true);
drawTextNodes();
pixels.show();
start_server();
}
void loop()
{
shiftGivenRectangle(0, 0, 23, 7, 1);
shiftGivenRectangleLefr(0, 0, 23, 7, 1);
pixels.show();
handle_server();
}
+1 -1
View File
@@ -143,7 +143,7 @@ void fillPixels(unsigned short x1, unsigned short y1, unsigned short x2, unsigne
}
}
void shiftGivenRectangle(unsigned short x1, unsigned short y1, unsigned short x2, unsigned short y2, unsigned char shift_by)
void shiftGivenRectangleLefr(unsigned short x1, unsigned short y1, unsigned short x2, unsigned short y2, unsigned char shift_by)
{
if (!shift_by)
{