Question: MP LAB 160 POINTS]QUESTION 5 Using a variable resistor connected to AN3 read 10 bits from ADC module. Display the lower 8 bits when a
MP LAB![MP LAB 160 POINTS]QUESTION 5 Using a variable resistor connected to AN3](https://dsd5zvtm8ll6.cloudfront.net/si.experts.images/questions/2024/09/66f4600979b84_40066f46008ee533.jpg)
160 POINTS]QUESTION 5 Using a variable resistor connected to AN3 read 10 bits from ADC module. Display the lower 8 bits when a push button connected to RBO is pressed and the upper 2 bits when another push button connected to RB1 is pressed. Configure the PIC microcontroller to divide the frequency of the oscillator by 16, justify the result value to the right, and set all the analogue pins to digital except for AN3, AN2, AN1 and ANO. a. Place a screen shot of the message the complier provides with your syntax errors if there is any. If there is none then place a screen shot of the green typed message saying, BUILD SUCCESSFUL". b. Place a screen shot or more of your code on MPLab, and then copy the code and paste it. 160 POINTS]QUESTION 5 Using a variable resistor connected to AN3 read 10 bits from ADC module. Display the lower 8 bits when a push button connected to RBO is pressed and the upper 2 bits when another push button connected to RB1 is pressed. Configure the PIC microcontroller to divide the frequency of the oscillator by 16, justify the result value to the right, and set all the analogue pins to digital except for AN3, AN2, AN1 and ANO. a. Place a screen shot of the message the complier provides with your syntax errors if there is any. If there is none then place a screen shot of the green typed message saying, BUILD SUCCESSFUL". b. Place a screen shot or more of your code on MPLab, and then copy the code and paste it
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
