Skip to content

Commit

Permalink
Apply suggestions from code review
Browse files Browse the repository at this point in the history
Co-authored-by: 9names <[email protected]>
  • Loading branch information
jannic and 9names committed Jul 9, 2022
1 parent 824f526 commit 98ad03f
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 8 deletions.
2 changes: 1 addition & 1 deletion boards/rp-pico-w/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ name = "rp-pico-w"
version = "0.0.1"
authors = ["The rp-rs Developers"]
edition = "2018"
homepage = "https://github.com/rp-rs/rp-hal/tree/main/boards/rp-pico"
homepage = "https://github.com/rp-rs/rp-hal/tree/main/boards/rp-pico-w"
description = "Board Support Package for the Raspberry Pi Pico W"
license = "MIT OR Apache-2.0"
repository = "https://github.com/rp-rs/rp-hal.git"
Expand Down
6 changes: 3 additions & 3 deletions boards/rp-pico-w/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ To use this crate, your `Cargo.toml` file should contain:
rp-pico-w = "0.0.1"
```

In your program, you will need to call `rp_pico::Pins::new` to create
In your program, you will need to call `rp_pico_w::Pins::new` to create
a new `Pins` structure. This will set up all the GPIOs for any on-board
devices. See the [examples](./examples) folder for more details.

Expand Down Expand Up @@ -56,9 +56,9 @@ $ cargo install elf2uf2-rs
```
then try repeating the `cargo run` command above.

### [pico__w_blinky](./examples/pico_w_blinky.rs)
### [pico_w_blinky](./examples/pico_w_blinky.rs)

Flashes the Pico's on-board LED on and off.
Flashes the Pico W's on-board LED on and off.

## Contributing

Expand Down
8 changes: 4 additions & 4 deletions boards/rp-pico-w/examples/pico_w_blinky.rs
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
//! # Pico Blinky Example
//! # Pico W Blinky Example
//!
//! Blinks the LED on a Pico board.
//! Blinks the LED on a Pico W board.
//!
//! This will blink an LED attached to GP25, which is the pin the Pico uses for
//! the on-board LED.
//! This will blink an LED attached to WL_GPIO0, which is the pin the Pico W uses for
//! the on-board LED. It is connected to the the Wifi chip so it cannot be set using RP2040 pins
//!
//! See the `Cargo.toml` file for Copyright and license details.

Expand Down

0 comments on commit 98ad03f

Please sign in to comment.