Adding ICN2038S as apparently it's a clone of FM6126A as well.
This commit is contained in:
parent
c425b9caa7
commit
496f042cdb
2 changed files with 2 additions and 1 deletions
|
@ -655,6 +655,7 @@ void MatrixPanel_I2S_DMA::updateMatrixDMABuffer(uint8_t red, uint8_t green, uint
|
||||||
*/
|
*/
|
||||||
void MatrixPanel_I2S_DMA::shiftDriver(const shift_driver _drv, const int dma_r1_pin, const int dma_g1_pin, const int dma_b1_pin, const int dma_r2_pin, const int dma_g2_pin, const int dma_b2_pin, const int dma_a_pin, const int dma_b_pin, const int dma_c_pin, const int dma_d_pin, const int dma_e_pin, const int dma_lat_pin, const int dma_oe_pin, const int dma_clk_pin){
|
void MatrixPanel_I2S_DMA::shiftDriver(const shift_driver _drv, const int dma_r1_pin, const int dma_g1_pin, const int dma_b1_pin, const int dma_r2_pin, const int dma_g2_pin, const int dma_b2_pin, const int dma_a_pin, const int dma_b_pin, const int dma_c_pin, const int dma_d_pin, const int dma_e_pin, const int dma_lat_pin, const int dma_oe_pin, const int dma_clk_pin){
|
||||||
switch (_drv){
|
switch (_drv){
|
||||||
|
case ICN2038S:
|
||||||
case FM6124:
|
case FM6124:
|
||||||
case FM6126A:
|
case FM6126A:
|
||||||
{
|
{
|
||||||
|
|
|
@ -169,7 +169,7 @@ typedef struct RGB24 {
|
||||||
uint8_t blue;
|
uint8_t blue;
|
||||||
} RGB24;
|
} RGB24;
|
||||||
|
|
||||||
enum shift_driver {SHIFT=0, FM6124, FM6126A};
|
enum shift_driver {SHIFT=0, FM6124, FM6126A, ICN2038S};
|
||||||
|
|
||||||
/***************************************************************************************/
|
/***************************************************************************************/
|
||||||
// Used by val2PWM
|
// Used by val2PWM
|
||||||
|
|
Loading…
Reference in a new issue