mirror of
https://github.com/LegitCamper/picocalc-os-rs.git
synced 2025-12-27 07:45:28 +00:00
increase clock speed of display
This commit is contained in:
@@ -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;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -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,
|
||||||
|
|||||||
Reference in New Issue
Block a user