widapro / wledPixel

Dot matrix panel management
MIT License
73 stars 12 forks source link

MAX7219 change type/modules/pins from webpage #37

Open mats-nk opened 1 year ago

mats-nk commented 1 year ago

I see that the MAX7219 settings is hard coded into the bin file. And I think that it could be nice to be able to change HW type, number of modules and pins used via the web interface.

Hardware type is dynamic and can be changed at run time. You need to use the MD_MAX72xx method setModuleType(). Look at the MD_MAX72xx example MD_MAX72xx_Dynamic_HW.

Is there anyway that I could assist you in getting this defined by software via the webpage?

Ref.: https://arduinoplusplus.wordpress.com/2017/04/14/parola-a-to-z-adapting-for-different-hardware/

mats-nk commented 1 year ago

This can be closed, same as #14