User manual
MAKEVMP502
V. 01 – 08/11/2017 35
1. Change directory:
gcc dice.c –o dice –lwiringPi
2. Run:
sudo ./dice
You should see numbers between 0 and 6 flashing quickly. Press the button on the breadboard and the display
will display a random number between 0 and 6 for 2 seconds, and then circularly display random numbers
between 0 and 6.
Programming
C Programming










