-
Notifications
You must be signed in to change notification settings - Fork 651
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
improvements on the usage of SmartLed #384
Conversation
reference and discussion: https://forum.iobroker.net/post/696742 |
Does it still work in your environment. I have implemented your global LED in my code and it constantly reboots after the first run with an error of the camera. That might be related to GPIO problems.
I will stay with 1) for the time beeing. Any ideas? |
Yes it still works for me. And I also went back to your code (no changes) and that crashes with more than 2 LEDs. I'll stick to my changed version for the time being, no problem. |
Sure - but a version, that is not limited to 2 would be very benefical. The changes are so simple, that don't think, that I made an error. It must be some kind of hardware error. |
I'll soon setup a second ESP32-CAM for my gasmeter and will check both your version and my branch. |
I just tested the globale code on another ESP32CAM and it is working! Looks like a hardware problem with my camera module :-(. |
In the newest version, this problem has been tackeled and now more than 2 LEDs can be used. |
GpioHandler::flashLightEnable()
and may lead to inaccessible memory whenSmartLed::copyRmtHalfBlock()
is called from interrupt context later