It’s some sort of PROS lvgl initialization issue, adding small delay fixes it.
void initialize() {
// pros::lcd::initialize();
// pros::lcd::set_text(1, "Hello PROS User!");
//
// pros::lcd::register_btn1_cb(on_center_button);
pros::delay(100);
gui();
}
exactly why the inverted screen changes the timing I’m not sure. I pulled the same code into my VEXcode LVGL project and it’s runs without issue in either case, no delay needed.