Closed msillano closed 6 years ago
Marco, thanks for the report.
Obviously, I missunderstood the easygpio_attachInterrupt() API. There is no individual user_arg for each attach - only the last will be handed over to any GPIO interrupt.
Changed the logic for identifying the interrupt source. Think, I works now.
Thanks Martin Best Regards Marco
Sorry, i have more problems. The script.sonoff works well. But if I add the fallowing code to enable a switch on GPIO 14
The GPIO 0 (on board button) ceases to work. But GPIO 14 works. Strange. Some limit on Interrupt use? Best regards. Marco