LED Dice

Sabs's picture


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


Joined: Aug 14, 2018

Replies: 44

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