Raspberry Pi Power Button with LED - Control LED

  • Apologies if this has been asked before. Honestly I would be surprised if it hasn't, but my search string apparently has failed me. I have a power button with LED connected via GPIO pins on my Pi 3 and would like to know how to be able to set it so that when the build is shut off the LED does not stay illuminated. Thanks in advance!

  • This is more a Raspberry Pi hardware question than a LibreELEC/Kodi question.

    Perhaps you may have more luck on a Raspberry Pi dedicated forum?