Question: 5) The flow chart below turns your PIC into a comparator: the light lit up on PORTD depends upon the number input on PORTB with
5) The flow chart below turns your PIC into a comparator: the light lit up on PORTD depends upon the number input on PORTB with the push buttons Write an assembler program to implement this program. PORTD (output) PORTB (input) 0 to 255 (input from buttons) PORTC (output) 73 decimal Start TRISB = 255 TRISC - TRISD = 0 PORTC-73 PORTB PORTC PORTB> PORTC Compare PORTS PORTB - PORTC PORTD 1 PORTD2 PORTD.4 5) The flow chart below turns your PIC into a comparator: the light lit up on PORTD depends upon the number input on PORTB with the push buttons Write an assembler program to implement this program. PORTD (output) PORTB (input) 0 to 255 (input from buttons) PORTC (output) 73 decimal Start TRISB = 255 TRISC - TRISD = 0 PORTC-73 PORTB PORTC PORTB> PORTC Compare PORTS PORTB - PORTC PORTD 1 PORTD2 PORTD.4
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
