diff options
Diffstat (limited to 'examples')
| -rw-r--r-- | examples/stm32u0/src/bin/lcd.rs | 56 |
1 files changed, 28 insertions, 28 deletions
diff --git a/examples/stm32u0/src/bin/lcd.rs b/examples/stm32u0/src/bin/lcd.rs index f401b1dcd..39db5c9c8 100644 --- a/examples/stm32u0/src/bin/lcd.rs +++ b/examples/stm32u0/src/bin/lcd.rs | |||
| @@ -43,34 +43,34 @@ async fn main(_spawner: Spawner) { | |||
| 43 | config, | 43 | config, |
| 44 | p.PC3, | 44 | p.PC3, |
| 45 | [ | 45 | [ |
| 46 | LcdPin::from(p.PA8), | 46 | LcdPin::new_com(p.PA8), |
| 47 | LcdPin::from(p.PA9), | 47 | LcdPin::new_com(p.PA9), |
| 48 | LcdPin::from(p.PA10), | 48 | LcdPin::new_com(p.PA10), |
| 49 | LcdPin::from(p.PB1), | 49 | LcdPin::new_seg(p.PB1), |
| 50 | LcdPin::from(p.PB9), | 50 | LcdPin::new_com(p.PB9), |
| 51 | LcdPin::from(p.PB11), | 51 | LcdPin::new_seg(p.PB11), |
| 52 | LcdPin::from(p.PB14), | 52 | LcdPin::new_seg(p.PB14), |
| 53 | LcdPin::from(p.PB15), | 53 | LcdPin::new_seg(p.PB15), |
| 54 | LcdPin::from(p.PC4), | 54 | LcdPin::new_seg(p.PC4), |
| 55 | LcdPin::from(p.PC5), | 55 | LcdPin::new_seg(p.PC5), |
| 56 | LcdPin::from(p.PC6), | 56 | LcdPin::new_seg(p.PC6), |
| 57 | LcdPin::from(p.PC8), | 57 | LcdPin::new_seg(p.PC8), |
| 58 | LcdPin::from(p.PC9), | 58 | LcdPin::new_seg(p.PC9), |
| 59 | LcdPin::from(p.PC10), | 59 | LcdPin::new_seg(p.PC10), |
| 60 | LcdPin::from(p.PC11), | 60 | LcdPin::new_seg(p.PC11), |
| 61 | LcdPin::from(p.PD8), | 61 | LcdPin::new_seg(p.PD8), |
| 62 | LcdPin::from(p.PD9), | 62 | LcdPin::new_seg(p.PD9), |
| 63 | LcdPin::from(p.PD12), | 63 | LcdPin::new_seg(p.PD12), |
| 64 | LcdPin::from(p.PD13), | 64 | LcdPin::new_seg(p.PD13), |
| 65 | LcdPin::from(p.PD0), | 65 | LcdPin::new_seg(p.PD0), |
| 66 | LcdPin::from(p.PD1), | 66 | LcdPin::new_seg(p.PD1), |
| 67 | LcdPin::from(p.PD3), | 67 | LcdPin::new_seg(p.PD3), |
| 68 | LcdPin::from(p.PD4), | 68 | LcdPin::new_seg(p.PD4), |
| 69 | LcdPin::from(p.PD5), | 69 | LcdPin::new_seg(p.PD5), |
| 70 | LcdPin::from(p.PD6), | 70 | LcdPin::new_seg(p.PD6), |
| 71 | LcdPin::from(p.PE7), | 71 | LcdPin::new_seg(p.PE7), |
| 72 | LcdPin::from(p.PE8), | 72 | LcdPin::new_seg(p.PE8), |
| 73 | LcdPin::from(p.PE9), | 73 | LcdPin::new_seg(p.PE9), |
| 74 | ], | 74 | ], |
| 75 | ); | 75 | ); |
| 76 | 76 | ||
