increase clock speed of display

This commit is contained in:
2025-10-29 08:07:58 -06:00
parent ba426f5baa
commit 05198c716d
2 changed files with 2 additions and 2 deletions

View File

@@ -58,6 +58,6 @@ pub async fn display_handler(mut display: DISPLAY) {
} }
// small yield to allow other tasks to run // small yield to allow other tasks to run
Timer::after_nanos(100).await; Timer::after_nanos(500).await;
} }
} }

View File

@@ -246,7 +246,7 @@ async fn setup_mcu(mcu: Mcu) {
async fn setup_display(display: Display, spawner: Spawner) { async fn setup_display(display: Display, spawner: Spawner) {
let mut config = spi::Config::default(); let mut config = spi::Config::default();
config.frequency = 16_000_000; config.frequency = 64_000_000;
let spi = Spi::new( let spi = Spi::new(
display.spi, display.spi,
display.clk, display.clk,