It is very easy, you just need one push button as input device to trigger the dice and 6 LED as output to display the number that was generated. Your program can generate a random number from 0 to 6 and display it in LED. You can use the following links as examples to get started if you are new with PIC16F877A
Bradyen
Joined August 14, 2018 44Tuesday at 03:25 PM
It is very easy, you just need one push button as input device to trigger the dice and 6 LED as output to display the number that was generated. Your program can generate a random number from 0 to 6 and display it in LED. You can use the following links as examples to get started if you are new with PIC16F877A
https://circuitdigest.com/microcontroller-projects/getting-started-with-pic-microcontroller
https://circuitdigest.com/microcontroller-projects/writing-your-first-pic-microcontroller-program