Task 2: Design the Accelerometer Screen

Using the BMA423 accelerometer, this task involves building a screen that displays the user’s current step count.

Implementation Guidance

– Initialize the BMA423 before attempting to read step data from it
– Use the provided abstraction/library for the BMA423 rather than implementing raw register access from scratch
– Ensure the step count displayed on screen accurately reflects the value read from the sensor

[img: Module 3 Task 2 Picture 1]
[img: Module 3 Task 2 Picture 2]
[img: Module 3 Task 2 Picture 3]

Recommended File Structure

touch.h / touch.c — FT6236U touch driver
accel.h / accel.cpp — BMA423 accelerometer driver
mywifi.h / mywifi.cpp — Wi-Fi/NTP (from Module 2)
display.h / display.cpp — display functions
main.cpp — integrates touch, accelerometer, and display