Sample applications for LED 8x16 Matrix Module For Raspberry Pi based on MAX7219 driving two LED 8x8 modules (8x16)
C Python Makefile
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
c
python
.gitignore
COPYING.MIT
README.md

README.md

raspberrypi-matrix-led-max7219

Sample applications for LED 8x16 Matrix Module For Raspberry Pi based on MAX7219 driving two LED 8x8 modules (8x16)

Hardware

Tested with "Led Matrix LED Red Matrix Module Driver Board Lattice Led For Raspberry Pi" from icstation.com: http://www.icstation.com/matrix-matrix-module-driver-board-lattice-raspberry-p-7274.html

Installation

$ dmesg | grep spi
[    3.769841] bcm2708_spi bcm2708_spi.0: master is unqueued, this is deprecated
[    3.793364] bcm2708_spi bcm2708_spi.0: SPI Controller at 0x20204000 (irq 80)
  • Verify that devices are successfully installed in /dev:
$ ls -l /dev/spi*
crw------- 1 root root 153, 0 Jan  1  1970 /dev/spidev0.0
crw------- 1 root root 153, 1 Jan  1  1970 /dev/spidev0.1

Python

Follow the steps below to run the Python example:

sudo python python/matrix-cpu.py

C

Follow the steps below to build and run the C example:

cd c
make 
sudo ./led-max7219-text hello