Question: 1 . An AT 8 9 C 5 2 microcontroller oscillator works with 1 2 MHz crystal. There is an LED connected to the 8

1. An AT89C52 microcontroller oscillator works with 12 MHz crystal. There is an LED connected to the 8th pin of the P1 port. Write the codes that turn this LED on and off for the periods given below.
a. 'delay1'
b. 'delay2'
c. 'delay3'
2. An AT89C52 microcontroller oscillator works with 12 MHz crystal. Write the codes that generate square waves with frequencies as requested below on the 8 th pin of the P1 port.
a.'f1'
b.'f2'
c.'f3'
3. An AT89C52 microcontroller oscillator works with 4 MHz crystal. There is an LED connected to the 8th pin of the P1 port. Write the codes that turn this LED on and off for the periods given below.
a. 'delay1'
b. 'delay2'
c. 'delay3'
4. Repeat the question 3 for 11.0592 MHz .
5. Repeat the question 3 for 16 MHz .
1 . An AT 8 9 C 5 2 microcontroller oscillator

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 Electrical Engineering Questions!