pradeep221899
Newbie level 1
I want to generate delay of 5 minutes in 8051 in C .i'm using KEIL software..
How can i do it?
waiting for your reply.....
Thanks..
How can i do it?
waiting for your reply.....
Thanks..
Follow along with the video below to see how to install our site as a web app on your home screen.
Note: This feature may not be available in some browsers.
Code C++ - [expand] 1 2 3 4 5 6 7 8 9 10 11 12 13 14 delay_5m() { int d; for(d=0;d<=5000;d++) { TMOD=0x01; TL0=0xA0; TH0=0x15; TR0=1; while(TF0==0); // run until TF turns to 1 TR0=0; TF0=0; } }