B4J Question GPIO: Simulate (hardware) button press

JanPRO

Well-Known Member
Licensed User
Longtime User
Hi,

in the attached picture you can see a hardware button.
I am trying to simulate the button press: When I use a wire and connect the red circled pins, I am able to do so. But I want to do it programmatically, so my question is, how I can bridge/connect these two pins with B4J+Raspberry?

JanPRO

Edit: I have found this http://astenor.free.fr/Arduino/Projet_15/Project_15-EN.pdf for the Arduino, I tried to get this working with a GpioPinDigitalOutput object, but the circuit is always closed, so the button is pressed all the time.
 

Attachments

  • pic.jpg
    pic.jpg
    243.9 KB · Views: 579
Last edited:
Top