RetroPie forum home
    • Recent
    • Tags
    • Popular
    • Home
    • Docs
    • Register
    • Login

    OnOff latching switch

    Scheduled Pinned Locked Moved Ideas and Development
    onoff shutdownwitch
    2 Posts 2 Posters 478 Views
    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.
    • J
      jmm_73
      last edited by

      Hello!

      I have just bought a OnOff Shim from Pimoroni. I have tested the switch and it works with a momentary pushbutton. But I want it to use a latching switch instead. But this doesnt work for me when i try. i have tried to read the code, and my understanding is that the code is made to work with both momentary and latching switches.

      Anyode else has a OnOff Shim working with a latching switch? Or another solution in place working with a latching switch?

      Kind regards Jens

      cyperghostC 1 Reply Last reply Reply Quote 0
      • cyperghostC
        cyperghost @jmm_73
        last edited by

        @jmm_73 you can try multi switch script with --onoffshim parameter there is an option for latching or momentary button included. Please remove the Pimoroni script before and call the multi switch kind off sudo ./multi_switch.sh --onoffshim

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

        Contributions to the project are always appreciated, so if you would like to support us with a donation you can do so here.

        Hosting provided by Mythic-Beasts. See the Hosting Information page for more information.