/** * @file calibration_screen.h * @brief IMU calibration screen for first-boot experience * * Displays a full-screen UI prompting the user to place the device * on a flat surface and tap to calibrate the IMU. Calibration values * are stored in NVS for use on subsequent boots. */ #ifndef CALIBRATION_SCREEN_H #define CALIBRATION_SCREEN_H #include #ifdef __cplusplus extern "C" { #endif // ---------------------------------------------------------------------------- // Public API // ---------------------------------------------------------------------------- /** * @brief Display the calibration screen and perform IMU calibration * * This is a blocking function that: * 1. Displays instructions to place device on flat surface * 2. Waits for user tap * 3. Performs IMU baseline calibration * 4. Stores calibration data to NVS * 5. Cleans up and returns * * @return true on successful calibration, false on failure */ bool calibrationScreenShow(void); #ifdef __cplusplus } #endif #endif // CALIBRATION_SCREEN_H