Matrix LED 8x8 + Max7219
Hardware
Raspberry Pi |
SPI |
|
GND |
GND |
1
|
+5V |
VCC |
2
|
PIN 19 |
DIN |
3
|
PIN 24 |
CS |
4
|
PIN 23 |
CLK |
5
|
|
|
6
|
|
Next SPI |
7
|
PIN 25 |
CS |
8
|
Install Driver and Examples Install Driver and Examples
$ mkdir max7219
$ cd max7219
$ git clone https://github.com/rm-hull/max7219.git
$ sudo python setup.py install Run examples
$ cd examples
$ sudo python test.py
|
|
|
|
|