text can be scrolled without abstract functions, handle_server is not async
This commit is contained in:
@@ -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
@@ -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)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user