Implements an SPI master to drive an animation with overlapping green/blue waves and a moving white diagonal. Some 7-segment wires are used for a 'sanity check' animation.
Wire accordingly and use a clock up to 12.5 KHz. Asynchronous reset is synchronized to the clock.
RGB LED matrix backpack from SparkFun: https://www.sparkfun.com/products/retired/760
# | Input | Output |
---|---|---|
0 | clock | SCLK |
1 | reset | MOSI |
2 | segment c | |
3 | segment d | |
4 | segment e | |
5 | nCS | |
6 | segment g | |
7 | none (always high) |