-
Power button
05/03/2019 at 08:43 • 0 commentsIn order to make the power button and power off to work add these lines to the /boot/config.txt The necessary drivers are already in Raspbian:
dtoverlay=gpio-poweroff,gpiopin=40 dtoverlay=gpio-key,gpio=41,label="Power button",keycode=116,active_low