This tutorial will show you how to build a ARDUINO controlled no way to cheat dice shaker game.
Click on Video below for full tutorial.
SCHEMATIC:
ARDUINO Code:
#define button 13
#define shaker 3
void setup() {
pinMode(button, INPUT);
pinMode(shaker, OUTPUT);
}
void loop() {
if (digitalRead(button) == HIGH)
{
analogWrite(shaker, 175);
delay(5000);
digitalWrite(shaker, LOW);
}
}