You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have the dash button press triggering a python script that blinks lights my Pimoroni Led strip. If i restart node-red it all behaves as expected (1 button press = 1 run of the script blinking lights in a night rider fashion) with 1 run shown in the debug log. After some time the debug shows 2 or 3 messages from 1 button press and the light patterns become erratic as if 2 or 3 threads of the script running. If i manually inject the trigger it all works as expected. Is there a way to debounce the button presses?
The text was updated successfully, but these errors were encountered:
Looking at the output from findbutton i see that it's processing both udp and arp for a single press.
Even setting index.js to use arp i see only arp in findbutton but still see multiple in debug log.
I have the dash button press triggering a python script that blinks lights my Pimoroni Led strip. If i restart node-red it all behaves as expected (1 button press = 1 run of the script blinking lights in a night rider fashion) with 1 run shown in the debug log. After some time the debug shows 2 or 3 messages from 1 button press and the light patterns become erratic as if 2 or 3 threads of the script running. If i manually inject the trigger it all works as expected. Is there a way to debounce the button presses?
The text was updated successfully, but these errors were encountered: