Joined January 2015
·
Posted to
Raspberry Pi Garage Door Opener with GaragePi
over 1 year
ago
Hi @chase_chou - When I turn on my Pi and it gets to the log on stage, GPIO4 goes high and stays high. I've checked and in the config file I've got 4 = OUT 1. When I go to the webpage garagepi works fine, but the problem is that if I lose power and the Pi is turned back on, the pin will stay high until such time as you go to the webpage and hit the garage button. Any ideas on how to make GPIO4 stay low at startup? Thanks, Terry
Hi @chase_chou, thanks that did the trick. Works great now on start up. However I notice when the pi is shutting down or going into reboot the gpio goes high for about 1s then low again. Is there a way to stop the gpio going high on shutdown or reboot? Thanks, Terry