Skip to content

Commit

Permalink
Change orientation to landscape to fit button placement better
Browse files Browse the repository at this point in the history
  • Loading branch information
themkat committed Aug 25, 2024
1 parent 62a4605 commit be5d70c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion boards/pimoroni-pico-display-pack/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -181,7 +181,7 @@ impl PicoDisplayPack {
let mut screen = ST7789::new(spi_interface, DummyPin, 320, 240);
screen.init(delay).unwrap();
screen
.set_orientation(st7789::Orientation::Portrait)
.set_orientation(st7789::Orientation::Landscape)
.unwrap();
screen.clear(Rgb565::BLACK).unwrap();

Expand Down

0 comments on commit be5d70c

Please sign in to comment.