-
Notifications
You must be signed in to change notification settings - Fork 159
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add MAX7219 SPI display driver library + example and small SPI librar…
…y fixes
- Loading branch information
1 parent
efd5699
commit 2b79ef3
Showing
7 changed files
with
1,019 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
all : flash | ||
|
||
TARGET:=spi_max7219 | ||
|
||
include ../../ch32v003fun/ch32v003fun.mk | ||
|
||
flash : cv_flash | ||
clean : cv_clean | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
# MAX7219 8 digit 7 segment display demo | ||
|
||
This example for the max7219_spi_driver and max7219_spi_driver_extended library demonstrates controlling a MAX7219 or MAX7221 based display over SPI. | ||
|
||
It demonstrates basic and advanced text writing, and at least one example of every single available display function in some capacity. | ||
|
||
--- | ||
|
||
The MAX7219 and MAX7221 chipsets are used in many 8 character 7 segment and 8x8 single colour dot matrix displays which can be purchased premade on eBay and Aliexpress for a few £/$. The abundance of these displays makes them a great companion for small projects requiring a display output that is more capable than single LEDs but not as complex as something like an LCD. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
#ifndef _FUNCONFIG_H | ||
#define _FUNCONFIG_H | ||
|
||
#define CH32V003 1 | ||
|
||
#endif |
Oops, something went wrong.