Add config for MatrixPortal_S3

This commit is contained in:
Will Tatam
2024-01-13 20:33:19 +00:00
parent b2972adbf3
commit f5ccd6dde7
2 changed files with 25 additions and 4 deletions

View 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

View File

@@ -356,10 +356,6 @@ class BusSmartMatrix : public Bus {
// uint8_t getPins(uint8_t* pinArray) {} // todo
uint16_t getLength() {
return _len;
}
void cleanup() {}
~BusSmartMatrix() {