Skip to content

Commit

Permalink
update
Browse files Browse the repository at this point in the history
  • Loading branch information
sktometometo committed Oct 14, 2024
1 parent 6385194 commit 2c43e3f
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
2 changes: 1 addition & 1 deletion sketchbooks/sdp_elevator_internal_panel/src/lcd.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ extern LGFX_Sprite sprite_status;

void init_lcd() {
lcd.init();
lcd.setRotation(1);
lcd.setRotation(3);
lcd.setBrightness(255);
lcd.setColorDepth(16);
lcd.fillScreen(TFT_WHITE);
Expand Down
4 changes: 4 additions & 0 deletions sketchbooks/sdp_elevator_internal_panel/src/main.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -200,6 +200,10 @@ void setup() {
Servo_write_angle(servo_id, pressed_angle);
delay(500);
}
sprite_status.fillScreen(TFT_WHITE);
sprite_status.setCursor(0, 0);
sprite_status.printf("All servos are ready\n");
sprite_status.pushSprite(0, lcd.height() / 3);
}

void loop() {
Expand Down

0 comments on commit 2c43e3f

Please sign in to comment.