now,i connect my makefabs board with the mpu9250.
contrast to my phone compass, i find that the mpu920 compass pointing is huge different with the compass on the phone.
I have changed the value float declinationAngle =0.05 according to my location(-3°13′ west).
i find that the Compass Calibration code.
void create_settings_scr()
{
// Settings Screen
settingsScreen = lv_obj_create(NULL);
lv_obj_set_size(settingsScreen, TFT_WIDTH, TFT_HEIGHT);
lv_obj_set_pos(settingsScreen, 0, 0);
lv_obj_set_flex_flow(settingsScreen, LV_FLEX_FLOW_COLUMN);
lv_obj_set_flex_align(settingsScreen, LV_FLEX_ALIGN_START, LV_FLEX_ALIGN_CENTER, LV_FLEX_ALIGN_CENTER);
however, when the device boot, there is just some text about memory free xxxxx, and then quickly jump to search sat.
I cannot get into the Compass Calibration button.
now,i connect my makefabs board with the mpu9250. contrast to my phone compass, i find that the mpu920 compass pointing is huge different with the compass on the phone. I have changed the value float declinationAngle =0.05 according to my location(-3°13′ west). i find that the Compass Calibration code. void create_settings_scr() { // Settings Screen settingsScreen = lv_obj_create(NULL); lv_obj_set_size(settingsScreen, TFT_WIDTH, TFT_HEIGHT); lv_obj_set_pos(settingsScreen, 0, 0); lv_obj_set_flex_flow(settingsScreen, LV_FLEX_FLOW_COLUMN); lv_obj_set_flex_align(settingsScreen, LV_FLEX_ALIGN_START, LV_FLEX_ALIGN_CENTER, LV_FLEX_ALIGN_CENTER);
}
however, when the device boot, there is just some text about memory free xxxxx, and then quickly jump to search sat. I cannot get into the Compass Calibration button.