Recalbox Forum

    • Register
    • Login
    • Search
    • Recent
    • Tags
    • recalbox.com
    • Gitlab repository
    • Documentation
    • Discord

    LED w/ Momentary Switch

    GamePad/GPIO/USB encoder
    led momentary switch
    2
    5
    1176
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • xtreemsurf
      xtreemsurf last edited by

      I've been successfully using a momentary switch with an LED for a while now, with config "system.power.switch=PIN356ONOFFRESET". I haven't updated since last year, and just ran an update last night.

      After the update, I can still switch the system on with the switch and the LED works, but I can't switch the system off with the switch. I tried replacing "system.power.switch=PIN356ONOFFRESET" with "system.power.switch=PIN56PUSH". This made the switch work perfectly for powering on/off, but now the LED doesn't turn on.

      Does anyone have a suggestion for this? Thanks so much!

      Substring 1 Reply Last reply Reply Quote 0
      • Substring
        Substring @xtreemsurf last edited by

        @xtreemsurf most certainly you edited the script to get the led on ?

        Former dev - Please reply with @substring so that i am notified when you answer me
        Ex dev - Merci de me répondre en utilisant @substring pour que je sois notifé

        xtreemsurf 1 Reply Last reply Reply Quote 0
        • xtreemsurf
          xtreemsurf @Substring last edited by

          @substring

          Are you referring to the config file? If so, yes, I edited the config file. I tried "system.power.switch=PIN356ONOFFRESET" and then "system.power.switch=PIN56PUSH". Is there are different script?

          Substring 1 Reply Last reply Reply Quote 0
          • Substring
            Substring @xtreemsurf last edited by

            @xtreemsurf no i'm referring to python files themselves

            Former dev - Please reply with @substring so that i am notified when you answer me
            Ex dev - Merci de me répondre en utilisant @substring pour que je sois notifé

            1 Reply Last reply Reply Quote 0
            • xtreemsurf
              xtreemsurf last edited by

              The method described on this page (https://github.com/recalbox/recalbox-os/wiki/Add-a-start-stop-button-to-your-recalbox-(EN)) has always worked up until this update. Is editing the Python scripts necessary? If so, is there a guide for this? Thanks again!

              1 Reply Last reply Reply Quote 0
              • First post
                Last post

              Want to support us ?

              64
              Online

              98.6k
              Users

              28.1k
              Topics

              187.0k
              Posts

              Copyright © 2021 recalbox.com