diff options
| author | mattiasgronlund <[email protected]> | 2023-04-14 10:27:25 +0200 |
|---|---|---|
| committer | GitHub <[email protected]> | 2023-04-14 10:27:25 +0200 |
| commit | 9ca5bcd57686bc8144c31b1937a15dccb6cf07ce (patch) | |
| tree | bbd05679decbc7f9f379ebc3a0907cbe58040cda /examples | |
| parent | 4be1e4bd44600737bf80ef7210c2b913d63364de (diff) | |
Update main.rs
Diffstat (limited to 'examples')
| -rw-r--r-- | examples/rpi-pico-w/src/main.rs | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/examples/rpi-pico-w/src/main.rs b/examples/rpi-pico-w/src/main.rs index b773cea18..d075aec2a 100644 --- a/examples/rpi-pico-w/src/main.rs +++ b/examples/rpi-pico-w/src/main.rs | |||
| @@ -61,11 +61,6 @@ async fn main(spawner: Spawner) { | |||
| 61 | 61 | ||
| 62 | let pwr = Output::new(p.PIN_23, Level::Low); | 62 | let pwr = Output::new(p.PIN_23, Level::Low); |
| 63 | let cs = Output::new(p.PIN_25, Level::High); | 63 | let cs = Output::new(p.PIN_25, Level::High); |
| 64 | // let clk = Output::new(p.PIN_29, Level::Low); | ||
| 65 | // let mut dio = Flex::new(p.PIN_24); | ||
| 66 | // dio.set_low(); | ||
| 67 | // dio.set_as_output(); | ||
| 68 | // // let bus = MySpi { clk, dio }; | ||
| 69 | 64 | ||
| 70 | let (_, sm, _, _, _) = p.PIO0.split(); | 65 | let (_, sm, _, _, _) = p.PIO0.split(); |
| 71 | let dma = p.DMA_CH0; | 66 | let dma = p.DMA_CH0; |
