Giter VIP home page Giter VIP logo

Comments (5)

Essilor84 avatar Essilor84 commented on July 22, 2024

If i Hammer the buttons (2-3 Times per Second ) its works...??

from foos.

Essilor84 avatar Essilor84 commented on July 22, 2024

its possible to log something? Whats Happen Wehen i Push the Button?

from foos.

Essilor84 avatar Essilor84 commented on July 22, 2024

i think there is a Problem with debounce:/ if i solder microswitches all works....

from foos.

swehner avatar swehner commented on July 22, 2024

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.

Essilor84 avatar Essilor84 commented on July 22, 2024

8863DE02-FE16-4C20-86D1-70D0C1DFC915
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…

from foos.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.