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:
parent
f40261646c
commit
94eafee6bb
@ -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.
|
||||
|
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user