diff --git a/wled00/MatrixHardware_MatrixPortal_S3.h b/wled00/MatrixHardware_MatrixPortal_S3.h new file mode 100644 index 00000000..514ecab9 --- /dev/null +++ b/wled00/MatrixHardware_MatrixPortal_S3.h @@ -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 diff --git a/wled00/bus_manager.h b/wled00/bus_manager.h index 61f7fef7..bd7cd4b9 100644 --- a/wled00/bus_manager.h +++ b/wled00/bus_manager.h @@ -356,10 +356,6 @@ class BusSmartMatrix : public Bus { // uint8_t getPins(uint8_t* pinArray) {} // todo - uint16_t getLength() { - return _len; - } - void cleanup() {} ~BusSmartMatrix() {