or start me off...it's getting near finals and I just do not have time anymore.
The table below is taken from real live hardware and a HUMIREL sensor, which has the ability to read the temperature and the humidity. We will only be dealing with the temperature, however. The table relates temperature in degrees C and voltage in millivolts. What actually happens is that the voltage will be determined by some other code reading an A/D (analog to digital) converter and then passed to your program to determine the temperature to the nearest ½ degree. Note that the table is in 1 degree increments!
Your assignment is to write a program so that the user can input the voltage from the A/D in milli-volts (mv) and then your program must spit out the temperature to the nearest ½ degree.
// "Ambient Temperature Sensor October 8, 2007"
// Resistance values taken from Humirel data sheet for the HTF3227LF Temperature and Humidity Module
// Vout mv Temp Deg C
2402 -10
2397 -9
2392 -8
2387 -7
2382 -6
2376 -5
2370 -4
2364 -3