Go to advanced search

by MrCm
Tue Jan 03, 2017 5:38 pm
Forum: Advanced users
Topic: HOWTO: Set GPIO pins to a known state on boot
Replies: 5
Views: 4132

Re: HOWTO: Set GPIO pins to a known state on boot

Cool! But unfortunately I'm not being able to get it working. Should you also add a dtoverlay=mygpio to /boot/config.txt? What I want to do is create an overlay to set gpio6 or gpio16 high on boot... Good catch! You need to add the following line to your /boot/config.txt device_tree_overlay=overlay...
by MrCm
Wed Dec 07, 2016 8:01 pm
Forum: Advanced users
Topic: HOWTO: Set GPIO pins to a known state on boot
Replies: 5
Views: 4132

HOWTO: Set GPIO pins to a known state on boot

I was having a lot of trouble getting one GPIO pin to stay high on boot and on rebooting. After a lot of digging I found a good solution. Hopefully this will help someone. You can of course edit the config to make the pin low on boot, and set other options as well. Create an overlay file: nano mygpi...

Go to advanced search