fablab-luenen / McLighting

The ESP8266 based multi-client lighting gadget
MIT License
216 stars 30 forks source link

Problem with Strip GPIO Pin value #50

Closed user-hash closed 4 years ago

user-hash commented 4 years ago

I have problems setting the correct Strip GPIO Pin (14 in my case) in the arduino code or later using web interface. No matter what I set, the value is set to 3 by default, so my already made circuits dont work. Web interface opens normally, but the Strip GPIO Pin value jumps to 3 again, when I click outside the field to save the config. Also up an down arrows for this pin dont work correctly for me - autoreturn to 3 when clicked... Im a bit lost of what can I do, besides changing the circuit.. Its the latest version of the code and im using circuits that work on normal Mclightning. I think the problem is only Strip GPIO Pin, which I cannot set. Thanks

Version: 2.2.7

user-hash commented 4 years ago

I found the problem. The default setting has dma enabled, so pin value is overwritten. Just a suggestion to comment this by default in the next versions Code is working great so many thanks!