Question: Give the flow chart for a program to turn your PIC board into an LED flashlight - PORTB = input - PORTC & D are

 Give the flow chart for a program to turn your PIC

Give the flow chart for a program to turn your PIC board into an LED flashlight - PORTB = input - PORTC \& D are output (the LED's) - RB0: All lights turn off ( PORTC = PORTD =0) - RB1 : Half of the lights are on (PORTC=0,PORTD=255) - RB2 : All lights are on (PORTC =PORTD=255) save energy, one LED turns off every 500ms. all LEDs are off, they remain off until RB1 or RB2 are pressed. Write the corresponding assembler code

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 Databases Questions!