You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
add codes below in front of the final line: exit 0*sudo nohup python /home/pi/Pi_Power_Button/poweroffbut.py &sudo nohup python /home/pi/Pi_Power_Button/rebootbut.py &exit 0
Ctrl + X to exit, remember to press y to save.
Reboot.
Circuit:
About
A power button for Raspberry Pi to shutdown or reboot