firmware for my Touchscreen E-Paper Input Module for Framework Laptop 16
3
fork

Configure Feed

Select the types of activity you want to include in your feed.

fw16-epd-main: modify touch reset delays

+3 -4
+3 -4
fw16-epd-main/src/main.rs
··· 188 188 let _power = pins.epd_pwr_sw.into_push_pull_output_in_state(PinState::Low); 189 189 190 190 let mut touch_reset = pins.epd_touch_rst.into_push_pull_output_in_state(PinState::High); 191 - cortex_m::asm::delay(120000); 191 + cortex_m::asm::delay(1000000); 192 192 touch_reset.set_low().unwrap(); 193 - cortex_m::asm::delay(120000); 193 + cortex_m::asm::delay(1000000); 194 194 touch_reset.set_high().unwrap(); 195 - cortex_m::asm::delay(12000000); 196 - 195 + cortex_m::asm::delay(10000000); 197 196 198 197 let cs: EpdCs = pins.spi3_epd_cs.reconfigure(); 199 198 let dc: EpdDc = pins.epd_dc.reconfigure();