tempSensor.F

Category:Circuit

Converts tempSensor.value to an easy to read temperature in Fahrenheit.

tempSensor.F is a property of the tempSensor analog object. tempSensor.F converts the raw value to Fahrenheit.

Examples

Thermometer using Fahrenheit

onBoardEvent(tempSensor, "data", function(event) {
  setNumber("temperature", tempSensor.F);
});

Found a bug in the documentation? Let us know at documentation@code.org