- This topic has 1 reply, 2 voices, and was last updated 12 years, 1 month ago by .
Viewing 2 posts - 1 through 2 (of 2 total)
Viewing 2 posts - 1 through 2 (of 2 total)
- You must be logged in to reply to this topic.
|
Microcontroller › 8051 › Problem with 7 segment common Cathode display using C8051F350 Micro Controller
Hi Nallapaneni,
It is obvious that your delay () function is causing trouble. For this particular project precise delay don’t have that much significance.
Just create a delay using loop waiting technique.
For example;
void delay_us ( int us )
{
volatile int uss;
uss = us;
for ( ; uss; uss — ); //assume 1 microsecond for each loop
}