Jump to content
43oh

pianoman148

Members
  • Content Count

    1
  • Joined

  • Last visited

  1. I am writing a program that is supposed to read the temperature from the MSP430's internal sensor, then display it through the LED's by making the red one blink the 10's digit and the green one blink the 1's digit. Pushing the button should toggle between Farenheit and Celcius, default Fahrenheit. My question is about the output of the analogRead(TEMPSENSOR) function. I know that the output of the function is an int between 0 and 1023 that maps to a range of 0 to 3 volts. What I don't understand is how that output translates to a temperature. I tested the function by just printing the
×
×
  • Create New...