Home of the Squeezebox™ & Transporter® network music players.
Page 48 of 48 FirstFirst ... 38464748
Results 471 to 474 of 474
  1. #471
    Senior Member paul-'s Avatar
    Join Date
    Jan 2013
    Posts
    4,614
    Then tell it to use pin 8, itĺs all in the help information.

    Code:
    For buttons: 
        b,pin,CMD[,resist,pressed,CMD_LONG,long_time]
            "b" for "Button"
            pin: GPIO PIN numbers in BCM-notation
    Almost nothing uses physical PIN numbers.
    piCorePlayer a small player for the Raspberry Pi in RAM.
    Homepage: https://www.picoreplayer.org

    Please donate if you like the piCorePlayer

  2. #472
    Senior Member chill's Avatar
    Join Date
    Mar 2007
    Location
    Nottingham, UK
    Posts
    2,156
    What command line options did you use with pigpiod?
    Do you have any other devices attached to this RPi?

  3. #473
    Quote Originally Posted by paul- View Post
    Then tell it to use pin 8, it’s all in the help information.

    Code:
    For buttons: 
        b,pin,CMD[,resist,pressed,CMD_LONG,long_time]
            "b" for "Button"
            pin: GPIO PIN numbers in BCM-notation
    Almost nothing uses physical PIN numbers.
    It work!!! I used physical pin numbers! :-(

    But when I quit (CTRL C) the terminal, the switch doesn't work anymore.
    How to "stay" it working ?

    - Is there 6 commands (pause, vol up/dn, rew, ffw and power) available ?

    Thanks

  4. #474
    Senior Member
    Join Date
    Apr 2005
    Location
    UK/London
    Posts
    5,114
    You need to set it to run automatically on boot - see the linked posts for how to get pCP to do that for you.
    Paul Webster
    Author of "Now Playing" plugins covering Radio France (FIP etc), PlanetRadio (Bauer - Kiss, Absolute, Scala, JazzFM etc), KCRW, ABC Australia and CBC/Radio-Canada
    and, via the extra "Radio Now Playing" plugin lots more - see https://forums.slimdevices.com/showt...Playing-plugin

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •