Question: Analog Inputs 3) (25pt) Assume a temperture sensor is connected to the analog input of a PIC board (RAD) so that the A/D reading vs.

 Analog Inputs 3) (25pt) Assume a temperture sensor is connected to

Analog Inputs 3) (25pt) Assume a temperture sensor is connected to the analog input of a PIC board (RAD) so that the A/D reading vs. temperature is as shown below. Write a C program which turns on lights on PORTC based upon temperature continuously (over and over again) Temperature 200 (degrees C) PORTC 00000000 0011 1111 (binary output) 0000 0011 0000 1111 IIIIIIII AD void Problem3 (void) unsigned int A2D Initialize MD TRISA - Ox: TRISE - OXOF ADCON2 - 0x85: ADCONI - Ox07 ADCONO - Ox01) 00 600 test - do not post Degrees C Analog Inputs 3) (25pt) Assume a temperture sensor is connected to the analog input of a PIC board (RAD) so that the A/D reading vs. temperature is as shown below. Write a C program which turns on lights on PORTC based upon temperature continuously (over and over again) Temperature 200 (degrees C) PORTC 00000000 0011 1111 (binary output) 0000 0011 0000 1111 IIIIIIII AD void Problem3 (void) unsigned int A2D Initialize MD TRISA - Ox: TRISE - OXOF ADCON2 - 0x85: ADCONI - Ox07 ADCONO - Ox01) 00 600 test - do not post Degrees C

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!