LED Dice

Sabs's picture

Offline

Joined: Apr 19, 2019

Replies: 0
LED Dice
April 19, 2019 - 1:28am

Good day guys how can I get an LED dice code using PIC 16F877A in microcontrollers 

Bradyen's picture

Offline

Joined: Aug 14, 2018

Replies: 36
It is very easy, you just
April 19, 2019 - 12:14pm

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