Hardware Setup
To setup hardware, connect buttons pin ① and pin ② to the breadboard first, and then
connect pin ③ and pin ④ to VisionFive 2. The following table
and figure describe how to connect button to the 40-pin GPIO Header:
Button | 40-Pin GPIO Header | |
---|---|---|
Pin Number | Pin Name | |
Pin ④ | 37 | GPIO60 |
Pin ③ | 39 | GND |
MAX7219 | 40-Pin GPIO Header | |
---|---|---|
Pin Number | Pin Name | |
VCC | 2 | 5V Power |
GND | 34 | GND |
DIN | 40 | GPIO44 |
CS | 38 | GPIO61 |
CLK | 36 | GPIO36 |
Tip: Inside the button, the pins ① and ③ are connected
while the pins ② and ④ are connected.