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

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

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();
}