mirror of
https://gitlab.dit.htwk-leipzig.de/phillip.kuehne/dezibot.git
synced 2025-05-19 02:51:47 +02:00
15 lines
251 B
C++
15 lines
251 B
C++
#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);
|
|
}
|
|
|
|
}
|
|
|