there seems to be a problem in my code, whenever I run this snippet of code, it says the display isn’t found? the brain screen appears to work perfectly fine though. I am using pros.
Now calibrating inertial + chassis...
Now initializing LCD...
[Warn] (2.026, +2026) lv_obj_get_display: No screen found lv_obj_tree.c:319
[Warn] (2.026, +0) lv_obj_get_display: No screen found lv_obj_tree.c:319
[Warn] (2.026, +0) lv_obj_get_display: No screen found lv_obj_tree.c:319
[Warn] (2.026, +0) lv_obj_get_display: No screen found lv_obj_tree.c:319
DATA ABORT EXCEPTION...```
here is the snippet that is causing the issue:
```void initialize() {
printf("Now in initialize...\n");
// fix up the 5.5w
leftMotors.set_gearing(pros::MotorGears::green, 2); // set gearing for 5.5w motor
rightMotors.set_gearing(pros::MotorGears::green, 0); // set gearing for 5.5w motor
// set all rollers to coast except indexer
frontRoller.set_reversed(true);
frontRoller.set_brake_mode(pros::E_MOTOR_BRAKE_COAST);
backRoller.set_brake_mode(pros::E_MOTOR_BRAKE_COAST);
topRoller.set_brake_mode(pros::E_MOTOR_BRAKE_COAST);
indexRoller.set_brake_mode(pros::E_MOTOR_BRAKE_BRAKE);
printf("Now calibrating inertial + chassis...\n");
// calibrate chassis + initialize lcd
inertial.reset();
chassis.calibrate();
// Display initial selection and instructions
printf("Now initializing LCD...\n");
pros::lcd::initialize();
pros::lcd::clear();
pros::lcd::print(0, "Auton: %s", autonNames[autonSelection]);
pros::lcd::print(1, "Left/Right change, center confirm");
}```