fixed clearDisplay(), changed linebreak to \n and added basic example
This commit is contained in:
1 parent
829adf435c
commit
a4a7bdc04b
2 files changed
+28
-25
No files matched your search
@@ -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();
|
||||
}
|
||||
Reference in new issue
Block a user