digital dice using 8051 source code for free
#1
Thumbs Up 

I need tis code for my project..pleasehlp me..i dunwan to gif uo tis topic cos of the coding..so i need tis vry vry much..thankyou so much..
Reply
#2

// Program to make a digital dice
#include<reg51.h>
sbit reset=P3^3;
sbit start=P1^1;
sbit pause=P3^2;
sbit enable=P1^0;
int current=0;
char num[]={0xF9,0x24,0x30,0x19,0x12,0x02}; // Hex values
corresponding to1to6
void delay(int time) // Function to generate time delay
{
int i,j;
for(i=0;i<time;i++)
for(j=0;j<1275;j++);
}
void pausefn()interrupt 0 //Pause function using external
interrupt 0
{
IE=0x84;
P2=num[current];
while(1)
{
if( start==0 )
break;
if(reset==0)
{
enable=1;
current=0;
P2=num[current];
while(start==1);
return;
}
enable=1;
delay(25);
if( start==0)
break;
if(reset==0)
{
enable=1;
current=0;
P2=num[current];
while(start==1);
return;
}
enable=0;
delay(25);
}
enable=1;
}
void resetfn()interrupt 2 // Reset function using timer
interrupt 2
{
current=0;
P2=num[current];
while(start==1);
enable=1;
}
void main()
{
enable=1;
while(1)
{
IE=0x85;
if(current >5)
{
current=0;
}
P2=num[current];
delay(15);
current++;
}
}
Reply

Important Note..!

If you are not satisfied with above reply ,..Please

ASK HERE

So that we will collect data for you and will made reply to the request....OR try below "QUICK REPLY" box to add a reply to this page
Popular Searches: electronic dice program using assembly language using 8051 trainer, mp sangra id num, electronic dice project presentation, samag id num, source code for electronic dice using at89c2051, pic based dice, digital dice circuit using decoder 7448 ic 555 and gate nand gate and counter,

[-]
Quick Reply
Message
Type your reply to this message here.

Image Verification
Please enter the text contained within the image into the text box below it. This process is used to prevent automated spam bots.
Image Verification
(case insensitive)

Possibly Related Threads...
Thread Author Replies Views Last Post
  Over Speed Alarm Indicators of Electrical Motor with Digital RPM Indicator 0 299 25-07-2023, 05:33 AM
Last Post:
  voice vased email system source code 0 3,143 20-04-2021, 07:59 AM
Last Post:
  ns2 source codes free download for hello flood attack 0 2,849 31-10-2018, 02:42 PM
Last Post: Guest
  voice based email for blinds source code 0 723 22-10-2018, 05:12 PM
Last Post: Guest
  source code for blood group detection in matlab 0 6,621 22-10-2018, 10:59 AM
Last Post: Guest
  voice based email for blinds source code 0 712 21-10-2018, 07:58 PM
Last Post: Guest
  voice based email for blinds source code 0 644 21-10-2018, 07:43 PM
Last Post: Guest
  download ajay deshmukh microcontroller 8051 pdf 0 721 13-10-2018, 02:02 AM
Last Post: Guest
  source code for hall ticket generation in php 0 2,276 08-10-2018, 10:00 PM
Last Post: Guest
  voice based email for blinds source code 0 658 28-09-2018, 02:42 PM
Last Post: Guest

Forum Jump: