- Thu Aug 09, 2018 10:24 am
#199995
I really like this component and the breakout board but this issue is huge for my product. I'm looking for a way to turn off blinking LEDs once they have been started. It doesn't matter if the blink is initiated in the setup or the loop (I'm using them in the loop): io.blink(sx1509_PIN3, 1000, 1000); .
No matter what I try, I've not yet found a way to turn it off once blink has been initiated. I've tried changing that pinMode to Analog then setting to PWM 0 and I've tried changing the pinMode to output then setting low. The only thing that will change the status is to set the pin high but then when you set it to low again, it goes back to blinking. It's like the registers for that pin blink mode are set and cannot be cleared. I believe I had the same problem with Breath, I could start a pin breathing, but couldn't turn it off.
I have looked through the Sparkfun guides and nothing mentions turning it off. There has got to be a way to turn it off otherwise what's the point of that functionality if you can't control it.
Is there a way to reset that specific output pin?
Any ideas?
Thanks,
Sean
No matter what I try, I've not yet found a way to turn it off once blink has been initiated. I've tried changing that pinMode to Analog then setting to PWM 0 and I've tried changing the pinMode to output then setting low. The only thing that will change the status is to set the pin high but then when you set it to low again, it goes back to blinking. It's like the registers for that pin blink mode are set and cannot be cleared. I believe I had the same problem with Breath, I could start a pin breathing, but couldn't turn it off.
I have looked through the Sparkfun guides and nothing mentions turning it off. There has got to be a way to turn it off otherwise what's the point of that functionality if you can't control it.
Is there a way to reset that specific output pin?
Any ideas?
Thanks,
Sean