fixed clearDisplay(), changed linebreak to \n and added basic example

This commit is contained in:
hhaupt committed 2024-06-04 00:19:59 +02:00
1 parent 829adf435c
commit a4a7bdc04b
2 files changed
+28 -25

No files matched your search

+17
View File
@@ -0,0 +1,17 @@
#include "Dezibot.h"
Dezibot dezibot = Dezibot();
void setup() {
// put your setup code here, to run once:
dezibot.begin();
}
void loop() {
// put your main code here, to run repeatedly:
dezibot.display.print("Hello from\nDezibot!");
delay(5000);
dezibot.display.clear();
dezibot.display.print("Bye!");
delay(5000);
dezibot.display.clear();
}