brian-armstrong / gpio

Go library to do GPIO on systems with /sys/class/gpio (sysfs)
BSD 3-Clause "New" or "Revised" License
140 stars 50 forks source link

GPIO0-GPIO7 Always High #11

Open jnovack opened 6 years ago

jnovack commented 6 years ago

Because GPIO0 through (and including) GPIO7 are set as Pull-Up (always High) by default, you have to connect them to GND to switch them from 1 to 0.

You cannot set them Low().