added example sketches

This commit is contained in:
Hans Haupt
2024-06-14 08:27:34 +02:00
parent dbec7278f3
commit a0e6661b16
18 changed files with 186 additions and 65 deletions

View File

@ -0,0 +1,14 @@
#include <Dezibot.h>
Dezibot dezibot = Dezibot();
void setup() {
dezibot.begin();
}
void loop() {
if(dezibot.motion.detection.isShaken()){
dezibot.display.clear();
dezibot.display.print(random(1,7));
delay(1000);
}
}