I need to create a dice game application written in C for the Arduino that uses two seven segment displays to show the result of the roll (dots on the dice). My application should use one or more functions that you create yourself.
When the user pushes a pushbutton, the display should cycle through the specified pattern at a 1-5 /sec rate. The pattern should turn on a single segment at a time – one after the other around the periphery of the two vertically “stacked” 7 segment displays.
What is the Dice2 function doing? It is never called so that code can never run.
just want some feedback and comments
When you find yourself writing the same code over and over and over, it is time to learn how using arrays to make your code a tiny fraction of what it is mow.