Question: Write an 8 0 5 1 embedded C program to count up to 1 4 9 , when the count reaches 1 5 0 ,

Write an 8051 embedded C program to count up to 149, when the
count reaches 150, toggle an LED connected to P1.3. The TON and
TOFF of the LED is 20 micro sec each, use Timer 0 as the counter
and use Timer 1 to create the delay

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Programming Questions!