I'm trying to set a GPIO pin high at boot and keep it high until shutdown.
I added this line in config.txt which sets high gpio 5.
Code: Select all
dtoverlay=gpio-poweroff:gpiopin=“5”,active_low="y"Code: Select all
sudo shutdown -h now
I found other topics with the same issue. Is this a normal behaviour?
I have tried 2019-09-26-raspbian-buster and retropie-4.5.1-rpi1_zero.img. Both have the same issue.