Simple demo to drive a 8x8-as LED matrix by a MAX7219 LED driver IC. After initialisation two characters (H and W) are displayed alternatively. The MAX7219 IC is driven by hardware SPI: SPI0 module at PTD1, PTD2, PTD3.

Dependencies:   mbed

SPI MAX7219 demo

Simple demo to drive a 8x8-as LED matrix by a MAX7219 LED driver IC. After initialisation two characters (H and W) are displayed alternatively. The MAX7219 IC is driven by hardware SPI: SPI0 module at PTD1, PTD2, PTD3 (Arduino compatible pins).

Hardware requirements:

  • FRDM-KL25Z board
  • LED 8x8 matrix with MAX7219 controller

Wiring:

MAX7219FRDM-KL25zNote
VCC3V3Power
GNDGNDGround
DIND11MOSI (PTD2)
CSD10Chip select (PTD0)
CLKD13SCLK (PTD1)

/media/uploads/icserny/led8x8.jpg

History

First version default tip

2015-11-24, by icserny [Tue, 24 Nov 2015 06:41:43 +0000] rev 0

First version