Jump to content
43oh

RobisLV

Members
  • Content Count

    3
  • Joined

  • Last visited

  1. Thank you for answer! This was very silly of me, indeed the processor heats up and my finger was about the same temperature, therefore that did not make any change. I tried heating it up using hair dryer and cooling it by putting it near opened windows and it seams it works. Sorry for "false alarm"
  2. Hello, fellow launchpad enthusiasts! I am having problems reading temperature sensor values on my stellaris launchpad (LM4F120H5QR). The values returned by analogRead(TEMPSENSOR) are erratic and do not correlate with actual temperature. I use ubuntu 14.04 and energia 0101E0014. I tried following code: uint32_t TempRead = 0; float TempC = 0; void setup() { Serial.begin(9600); analogRead(TEMPSENSOR); } void loop() { TempRead = analogRead(TEMPSENSOR); TempC = (float)(1475 - ((2475*TempRead)/4096))/10; Serial.print("ADC value: "); Serial.println(TempRead); Serial.print("Temperature in C: "); Se
×
×
  • Create New...