I would like to learn gpio control on raspberry pi, and now I have a RPI 3B+

I found that the greed led is GPIO29 I think it will work to set the green led on or off by gpio, but at the same time, the green led also is control by SDcard.

So, it's not easy for me to observe the green led, is any method that I can untie the green led controlling by SDcard?

  • 3
    add dtparam=act_led_trigger=none in config.txt – Jaromanda X Aug 4 '19 at 1:21
  • it works, thanks you – user106659 Aug 4 '19 at 6:59



in /boot/config.txt and reboot

| improve this answer | |

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.