Closed Essilor84 closed 5 years ago
If i Hammer the buttons (2-3 Times per Second ) its works...??
its possible to log something? Whats Happen Wehen i Push the Button?
i think there is a Problem with debounce:/ if i solder microswitches all works....
It's hard to tell... you don't happen to have something like an oscilloscope to see what the switch is actually doing, right? I would try to put a print statement here https://github.com/swehner/foos/blob/master/plugins/io_raspberry.py#L26 to see how often this callback function is actually triggered. You can try to set bouncetime to 0 see how often it's actually triggering (maybe it's constantly). Maybe you can try the suggestions to add a capacitor around the switch like it's suggested here: https://sourceforge.net/p/raspberry-gpio-python/wiki/Inputs/
i Play with debounce Time = no change. I try Hardware Solution (capacitator)= no change. Now i solder a not quick but very,very Dirty Solution ;). It works :)!! ![Uploading C86A6D7A-A504-4F05-A4E1-7DE22633C1E3.jpeg…]()
Hi, if i use smd push Buttons i works well. Now i want to use LED-Arcade push Buttons. I Check Every Connection with multimeter, its Looks perfect nur the Pins works only sporadically. I use raspi only Version. WHO has a Idea? Thanks and Greets ,Jochen