树莓派-LED-max7219

1.连线:
Raspberry-Pi-GPIO-Layout-Revision-2

Name 树莓派Pin
VCC 2
GND 6
DIN 19
CS 24
CLK 23

2.下载python的max7219包:

git clone https://github.com/rm-hull/max7219.git

安装。

3.在/etc/modprobe.d/raspi-blacklist.conf中注释掉

blacklist spi-bcm2708

重启。

4.运行example.py

Comments are closed.