Question: use pic18f452, fast Q3. Trace the following program and plot all the waveforms at pin 3 of port B. Show all your calculations. BCF TRISB,
use pic18f452, fast
Q3. Trace the following program and plot all the waveforms at pin 3 of port B. Show all your calculations. BCF TRISB, 3 MOVLW 0x08 MOVWF TOCON MOVLW OXCF MOVWF TMROH MOVLW 0x2C MOVWF TMROL BCF INTCON, TMROIF CALL DELAY BTG PORTB, 3 CALL DELAY BTG PORTB, 3 SLEEP DELAY BSF TOCON, TMROON AGAIN BTFSS INTCON, TMROIF BRA AGAIN BCF TOCON, TMROON RETURN
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
