Skip to content
Teensy 3/LC Internal Temperature Library
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
examples
.gitattributes
.gitignore
InternalTemperature.cpp
InternalTemperature.h
InternalTemperature.odt
InternalTemperature.pdf
README.md

README.md

InternalTemperature


The Kinetis Cortex-M processor on the Teensy 3/LC boards has a built-in temperature sensor. This library provides functions to read the temperature in both Celsius and Fahrenheit.

Here is a simple example of how to use it:

#include <InternalTemperature.h>

InternalTemperature temperature;

void setup()
{
  temperature.begin();
}

void loop()
{
  float temp = temperature.readTemperatureC();
}

For more details and information on calibration, see

https://github.com/LAtimes2/InternalTemperature/blob/master/InternalTemperature.pdf

You can’t perform that action at this time.