Skip to content

Practical way to define the pin configuration in v3 #399

Answered by Lukaswnd
ergindemir asked this question in Q&A
Discussion options

You must be logged in to vote

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.

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by mrcodetastic
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants