mirror of
https://github.com/LegitCamper/picocalc-os-rs.git
synced 2025-12-26 23:35:53 +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
|
||||
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) {
|
||||
let mut config = spi::Config::default();
|
||||
config.frequency = 16_000_000;
|
||||
config.frequency = 64_000_000;
|
||||
let spi = Spi::new(
|
||||
display.spi,
|
||||
display.clk,
|
||||
|
||||
Reference in New Issue
Block a user