Comments (5)
If i Hammer the buttons (2-3 Times per Second ) its works...??
from foos.
its possible to log something? Whats Happen Wehen i Push the Button?
from foos.
i think there is a Problem with debounce:/ if i solder microswitches all works....
from foos.
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/
from foos.
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 :)!!
from foos.
Related Issues (20)
- 38khz pwm only to+ IR led or to + ir receiver too? HOT 5
- How i can change the gamemode on Start? HOT 1
- Need help, how i can change goalsound?
- Are there any problems running with buster? HOT 2
- what PNP transistor to use HOT 3
- Goals keep registering as long as LED is pointing at receiver, and stops when it is blocked HOT 12
- Portrait mode HOT 3
- Problem to install libav-tools HOT 9
- Problem to install libav-tools HOT 1
- Menue zeigt foos-tournament nicht an HOT 1
- RASPI B - GPIO PROBLEME
- Problem tu run GUI HOT 4
- Problem with camera & UI HOT 2
- IR Lichtschranke HOT 10
- Der fernseher geht bei replay kurz aus und wieder an HOT 2
- Die Auflösung der Kamera ist schlecht HOT 1
- Problem mit der GUI (RPi only Setup) HOT 3
- Hardware HOT 1
- Foos läuft plötzlich nicht mehr HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from foos.