Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
You are viewing an older revision! See the latest version
Homepage
05_analog_thermometer¶
Measeures the temperature by using a Microchip MCP9700A analog thermometer (parameteres: 10 mV/C, 500 mV offset, VCC= 2.3-5.5V). The result is printed to standard output.
Hardware requirements:¶
- FRDM-KL25Z board
- MCP9700A analog thermometer connected to the A0 (PTB0) analog input
include the mbed library with this snippet
#include "mbed.h"