1
0
mirror of https://github.com/google/comprehensive-rust.git synced 2025-03-24 23:31:56 +02:00

Add more notes.

This commit is contained in:
Andrew Walbran 2023-03-14 11:58:56 +00:00
parent f40261646c
commit 94eafee6bb
2 changed files with 3 additions and 1 deletions

View File

@ -29,7 +29,7 @@ use nrf52833_hal::{
fn main() -> ! {
let p = Peripherals::take().unwrap();
// GPIO port 0.
// Create HAL wrapper for GPIO port 0.
let gpio0 = p0::Parts::new(p.P0);
// Configure GPIO 0 pins 21 and 28 as push-pull outputs.

View File

@ -9,6 +9,8 @@ micro:bit:
<details>
* GPIO 0 pin 21 is connected to the first column of the LED matrix, and pin 28 to the first row.
Run the example with:
```sh