Skip to content

Commit

Permalink
add pinout documentation
Browse files Browse the repository at this point in the history
  • Loading branch information
michaellee1019 committed May 6, 2024
1 parent 81e9c5f commit b80a3e1
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,18 @@ A VIAM module to support led matrices with a max7219 chip. The module is a wrapp

The module was tested with a 3 pack of [EC Buying MAX7219 Dot Matrix Modules](https://www.amazon.com/dp/B0BXDKHZL6)

The first module should be wired to a raspberry pi in the following way:

| Max Pin | RPI Pin |
| -------- | ------- |
| VCC | Any 5v Pin |
| GND | Any Ground Pin |
| DIN | MOSI Pin 19 / GPIO 10 |
| CS | CE0 Pin 24 / GPIO 8 |
| CLK | SCLK Pin 23 / GPIO 11 |

Based on the [official pinout diagram](https://www.raspberrypi.com/documentation/computers/raspberry-pi.html) provided by Raspberry Pi

## Attribute Examples
The following config is used to control a single [HiLetgo MAX7219 Dot Matrix Module](https://www.amazon.com/dp/B07FFV537V).
```
Expand Down

0 comments on commit b80a3e1

Please sign in to comment.