diff options
| author | Cesar Tamayo Claro <[email protected]> | 2025-12-03 15:39:26 -0700 |
|---|---|---|
| committer | Cesar Tamayo Claro <[email protected]> | 2025-12-03 15:39:26 -0700 |
| commit | fab778e108814fae68e91c67e38c164b37075744 (patch) | |
| tree | 1b315d58c0066acf86860e2c5275292f80dee693 | |
| parent | b9a89626a4121887c4c73551f169b279340b0a36 (diff) | |
Update LED pin number to PC4
| -rw-r--r-- | examples/stm32wba6/src/bin/blinky.rs | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/examples/stm32wba6/src/bin/blinky.rs b/examples/stm32wba6/src/bin/blinky.rs index e490ad6eb..95f3339b7 100644 --- a/examples/stm32wba6/src/bin/blinky.rs +++ b/examples/stm32wba6/src/bin/blinky.rs | |||
| @@ -40,7 +40,8 @@ async fn main(_spawner: Spawner) { | |||
| 40 | let p = embassy_stm32::init(config); | 40 | let p = embassy_stm32::init(config); |
| 41 | info!("Hello World!"); | 41 | info!("Hello World!"); |
| 42 | 42 | ||
| 43 | let mut led = Output::new(p.PB4, Level::High, Speed::Low); | 43 | // LD2 - PC4 |
| 44 | let mut led = Output::new(p.PC4, Level::High, Speed::Low); | ||
| 44 | 45 | ||
| 45 | loop { | 46 | loop { |
| 46 | info!("high"); | 47 | info!("high"); |
