You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
For the pin out of a Raspberry Pi Pico see: https://pip-assets.raspberrypi.com/categories/610-raspberry-pi-pico/documents/RP-008309-DS-1-Pico-R3-A4-Pinout.pdf?disposition=inline
4
+
```Rust
5
+
// Name Color
6
+
// Player one
7
+
pins.gpio10 // A4 White
8
+
pins.gpio11 // A3 Green
9
+
pins.gpio17 // B1 Purple
10
+
pins.gpio16 // B2 Purple
11
+
pins.gpio13 // A1 Red
12
+
pins.gpio12 // A2 Blue
13
+
pins.gpio9 // Start button Black
14
+
pins.gpio27 // Joystick North
15
+
pins.gpio26 // Joystick West
16
+
pins.gpio22 // Joystick East
17
+
pins.gpio28 // Joystick South
18
+
pins.gpio15 // B3 Purple
19
+
pins.gpio14 // B4 Purple
20
+
// Player two
21
+
pins.gpio3 // A4 White
22
+
pins.gpio2 // A3 Green
23
+
pins.gpio4 // B1 Yellow
24
+
pins.gpio5 // B2 Yellow
25
+
pins.gpio6 // A1 Red
26
+
pins.gpio7 // A2 Blue
27
+
pins.gpio8 // Start button Black
28
+
pins.gpio20 // Joystick North
29
+
pins.gpio19 // Joystick West
30
+
pins.gpio18 // Joystick East
31
+
pins.gpio21 // Joystick South
32
+
pins.gpio0 // B3 Yellow
33
+
pins.gpio1 // B4 Yellow
34
+
35
+
```
36
+
## Installation to a Pi Pico
37
+
### Software requirements:
38
+
- picotool
39
+
-`rustup target add thumbv6m-none-eabi`
40
+
-`cargo install flip-link`
41
+
### Building:
42
+
```bash
43
+
cargo build --release
44
+
```
45
+
### Loading into the controller:
46
+
Hold `bootsel` while plugging in the Pi Pico and then run:
0 commit comments