Teensy internal CPU temperatures
Read temperature of all versions of Teensy. Attach functions to high and low temperature alarms.
This library is compatible with all architectures so you should be able to use it on all the Arduino boards.
To use this library, open the Library Manager in the Arduino IDE and install it from there.