Closed mrcodetastic closed 6 years ago
The code for setIntensity() [code] inline void setIntensity(uint8_t intensity) { _intensity = intensity; _MX->control(_zoneStart, _zoneEnd, MD_MAX72XX::INTENSITY, _intensity); } [/code] Iterates through all the modules in the zone, and this problem has not been seen before. Have you tried to move the intensity setting to after you set the zones in setup()? Does this make any difference? You have told the library there are 2 zones in begin() but they are unknown until you set them in setZones().
Hello. Thank you for your prompt response.
You are correct. If I move the P.setIntensity(0) to after the setZones(), the intensity is set for all modules.
setZones();
P.setIntensity(0);
Thank you.
Hello! Firstly, fantastic work with your library. How can I donate?
I have a small problem. I tried your Parola_Zone_Dynamic demo, which I got to work without issue. However, I wanted to set the intensity of the LED matrix to 0 (minimum), and I have discovered that it will only set the intensity of the FIRST module to 0. Not the entire display as expected.
My code is as follows (essentially a small adjustment to the Parola_Zone_Dynamic example to work with ESP8266)