mirror of
https://github.com/LegitCamper/picocalc-os-rs.git
synced 2026-10-22 22:57:36 -06:00
increase clock speed of display
This commit is contained in:
1 parent
ba426f5baa
commit
05198c716d
2 files changed
+2
-2
No files matched your search
@@ -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;
|
||||
}
|
||||
}
|
||||
+1
-1
@@ -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