EMBEDDED SYSTEMS & MICROCONTROLLERS · PAGE 47
Project: Temperature Logger
Sense, store, display.
Read a temperature sensor with the ADC every minute, convert the reading with fixed-point maths and add a timestamp from the real-time clock.
Store each record in external flash, and show the latest value on a character display. Sleep between readings to save power.
Test by warming the sensor in your hand and confirm the value rises.