question archive A- Design a circuit to interface three pushbutton to lines 0, 5, and 6 of PORTB with pull-up resistors and four LEDs (yellow, green, red, and orange) to PORTA of PIC16F84A

A- Design a circuit to interface three pushbutton to lines 0, 5, and 6 of PORTB with pull-up resistors and four LEDs (yellow, green, red, and orange) to PORTA of PIC16F84A

Subject:PhysicsPrice: Bought3

A- Design a circuit to interface three pushbutton to lines 0, 5, and 6 of PORTB with pull-up resistors and four LEDs (yellow, green, red, and orange) to PORTA of PIC16F84A. Show all connections in detail.
B - For the circuit you have designed, write a mikroC program that initializes the PORTB and PORTA to the required configuration and with the LEDs are initially OFF. The pushbutton switches should be configured as interrupt sources. The main program flashes the orange LED on and off at a rate of one second. The red LED is toggled on and off when the pushbutton switch connected to RB0 is released. The Yellow and green LEDs are toggled on and off when the pushbutton switch connected to RB5 and RB6 are pressed.
Please design a circuit and program the same required by the question.

pur-new-sol

Purchase A New Answer

Custom new solution created by our subject matter experts

GET A QUOTE