Answered step by step
Verified Expert Solution
Question
1 Approved Answer
Given PIC 16F887 microcontroller circuit, as shown in the figure below, if the LED (connected to (PORTC,2)) turns on when the switch (SW) (connected to
Given PIC 16F887 microcontroller circuit, as shown in the figure below, if the LED (connected to (PORTC,2)) turns on when the switch (SW) (connected to (PORTB,0)) is pressed, and turns off when the switch (SW) is depressed i. Explain how to configure ports B and C registers for the circuit shown ii. Write the assembly instructions (opcode + operand) for setting the port:s ii. Explain why the switch (SW) can be directly connected from ground to PORTB pin without the need of additional external circuit. RESET GND 2x20-30pl GND 330R GND
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started