I don't know what's inside your button but could it be switch bounce ?
In which case you will need to debounce the button.

If you are unware of switch bounce see
https://www.allaboutcircuits.com/technical-articles/switch-bounce-how-to-deal-with-it/


------------------------------------------------------------------------
bpa's Profile: http://forums.slimdevices.com/member.php?userid=1806
View this thread: http://forums.slimdevices.com/showthread.php?t=109769

_______________________________________________
unix mailing list
[email protected]
http://lists.slimdevices.com/mailman/listinfo/unix

Reply via email to