Practical way to define the pin configuration in v3 #399
-
I have multiple boards and displays with different pin configuration. |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
There is a i2s_pins struct, which makes it possible to set the pins. It is part of the HUB75_I2S_CFG. Either way it should be easy to set the pinout with sone precompiler defines. |
Beta Was this translation helpful? Give feedback.
There is a i2s_pins struct, which makes it possible to set the pins. It is part of the HUB75_I2S_CFG.
And there is the second begin function, which takes the pins as parameters bool begin(int r1, int g1 = G1_PIN_DEFAULT, ...).
Either way it should be easy to set the pinout with sone precompiler defines.