Raspberry Pi 4

For information, Recalbox IS NOT compatible with Raspberry Pi 4 yet.
Pour information, Recalbox N'EST PAS encore compatible avec le Raspberry Pi 4.

The Recalbox Team.

LED Turn on/off when I press a button (GPIO14 )



  • Hello, I'm configuring my GPIO controller on my Arcade cabinet for 2 players. I use all the buttons for player 1 and 2. Yesterday I add the LED to indicate when the system is on or off.
    I've connected the LED (+) to GPIO14 as is explained here:
    https://github.com/recalbox/recalbox-os/wiki/Add-a-start-stop-button-to-your-recalbox-(EN)

    The problem is that I need also to connect on GPIO14 a button for player 1. so, when I press the button on player 1 the led turn off. When I release it, the led back to on.

    Somebody has a workaround for this?
    Thanks.



  • @erniman no you can't add a led when using the gpio driver unless you use a.specific version of the driver where you can reconfigure ports (it should ve available in 2 releases)


  • Banned

    @erniman
    If you want just look if the system is up or down, you can easly and just connect it (with resistor =>1KOhm) to the power pin of one USB plug. Because PI switch off power on USB if the system is down. Even when power subsist on the board.



Want to support us ?

200
Online

74449
Users

19195
Topics

142705
Posts

Looks like your connection to Recalbox Forum was lost, please wait while we try to reconnect.