- By using both timer interrupts, write the code to code togenerate both a T = 800 microsecond square wave at P0 and a T = 60microsecond square wave at P1.2 with 50% duty cycleSIMULTANEOUSLY.
- Write the code to generate a T = 100 microsecond square wavewith 30% duty cycle at P1.0 using interrupts. Hint: inside the ISR,you must have an IF statement to set the timer to count the HIGHperiod and count the LOW period.
- Given a T = 100 us square wave applied to INT0. Use ExternalInterrupts to generate a T = 1000 us square wave at
OROR