Add config for MatrixPortal_S3
This commit is contained in:
25
wled00/MatrixHardware_MatrixPortal_S3.h
Normal file
25
wled00/MatrixHardware_MatrixPortal_S3.h
Normal file
@@ -0,0 +1,25 @@
|
|||||||
|
#define GPIOPINOUT 99
|
||||||
|
|
||||||
|
// ADDX is output directly using GPIO
|
||||||
|
#define CLKS_DURING_LATCH 0
|
||||||
|
#define MATRIX_I2S_MODE I2S_PARALLEL_BITS_16
|
||||||
|
#define MATRIX_DATA_STORAGE_TYPE uint16_t
|
||||||
|
|
||||||
|
|
||||||
|
#define R1_PIN GPIO_NUM_42
|
||||||
|
#define G1_PIN GPIO_NUM_41
|
||||||
|
#define B1_PIN GPIO_NUM_40
|
||||||
|
#define R2_PIN GPIO_NUM_38
|
||||||
|
#define G2_PIN GPIO_NUM_39
|
||||||
|
#define B2_PIN GPIO_NUM_37
|
||||||
|
|
||||||
|
#define A_PIN GPIO_NUM_45
|
||||||
|
#define B_PIN GPIO_NUM_36
|
||||||
|
#define C_PIN GPIO_NUM_48
|
||||||
|
#define D_PIN GPIO_NUM_35
|
||||||
|
#define E_PIN GPIO_NUM_21
|
||||||
|
|
||||||
|
#define LAT_PIN GPIO_NUM_47
|
||||||
|
#define OE_PIN GPIO_NUM_14
|
||||||
|
|
||||||
|
#define CLK_PIN GPIO_NUM_2
|
||||||
@@ -356,10 +356,6 @@ class BusSmartMatrix : public Bus {
|
|||||||
|
|
||||||
// uint8_t getPins(uint8_t* pinArray) {} // todo
|
// uint8_t getPins(uint8_t* pinArray) {} // todo
|
||||||
|
|
||||||
uint16_t getLength() {
|
|
||||||
return _len;
|
|
||||||
}
|
|
||||||
|
|
||||||
void cleanup() {}
|
void cleanup() {}
|
||||||
|
|
||||||
~BusSmartMatrix() {
|
~BusSmartMatrix() {
|
||||||
|
|||||||
Reference in New Issue
Block a user