Dezibot 4
wuerfeln.ino
Go to the documentation of this file.
1 #include <Dezibot.h>
2 Dezibot dezibot = Dezibot();
3 void setup() {
4  dezibot.begin();
5 }
6 void loop() {
7  if(dezibot.motion.detection.isShaken()){
8  dezibot.display.clear();
9  dezibot.display.print(random(1,7));
10  delay(1000);
11  }
12 
13 }
14