This task ties together previous modules by implementing navigation between at least two screens (e.g. time/date screen and step count screen) using touch input.
Implementation Guidance
– Centralize screen state management — track which screen is currently active in one place, rather than scattering this logic across the codebase
– Use touch events to trigger transitions between screens
– Ensure only one screen is ever “active” and being rendered/updated at a time
[img: Module 4 Task 1 Picture — if applicable]
Recommended File Structure
display.h / display.cpp — screen rendering
power.h / power.cpp — power management
mywifi.h / mywifi.cpp — Wi-Fi/NTP
accel.h / accel.cpp — accelerometer
touch.h / touch.c — touch input
main.cpp — screen state management and navigation logic