This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

slink

Other Parts Discussed in Thread: LM35

A temperature sensor is connected to channel one of a PIC18. The transfer function of the
temperature sensor is: Vout=700mv+T×35mv, where Vout is voltage generated by the sensor and
T is temperature in Celsius. Write a C program that convents voltage of channel one to
temperature in Celsius and sends the temperature to PORTB. Ignore the fractional part of the
result. Assume that Vdd=5v in PIC18.