#include "fw_hal.h"Go to the source code of this file.
Macros | |
| #define | MAX7219_CS P17 |
| #define | DECODE_MODE 0x09 |
| #define | INTENSITY 0x0A |
| #define | SCAN_LIMIT 0x0B |
| #define | SHUT_DOWN 0x0C |
| #define | DISPLAY_TEST 0x0F |
Functions | |
| void | MAX7219_write (uint8_t addr, uint8_t dat) |
| void | MAX7219_init (void) |
| void | SPI_init (void) |
| void | main () |
Variables | |
| const uint8_t | numbers [] |
| #define DECODE_MODE 0x09 |
Definition at line 28 of file max7219_8x8led.c.
| #define DISPLAY_TEST 0x0F |
Definition at line 32 of file max7219_8x8led.c.
| #define INTENSITY 0x0A |
Definition at line 29 of file max7219_8x8led.c.
| #define MAX7219_CS P17 |
Demo: MAX7219 8x8 LED Matrix Board: STC8H1K08
P1.3 -> DIN P1.5 -> SCLK P1.7 -> CS
Definition at line 26 of file max7219_8x8led.c.
| #define SCAN_LIMIT 0x0B |
Definition at line 30 of file max7219_8x8led.c.
| #define SHUT_DOWN 0x0C |
Definition at line 31 of file max7219_8x8led.c.
| void main | ( | void | ) |
Definition at line 93 of file max7219_8x8led.c.
| void MAX7219_init | ( | void | ) |
Definition at line 64 of file max7219_8x8led.c.
Definition at line 56 of file max7219_8x8led.c.
| void SPI_init | ( | void | ) |
Definition at line 73 of file max7219_8x8led.c.
| const uint8_t numbers[] |
Definition at line 34 of file max7219_8x8led.c.