2021-05-21, 02:27 PM
for the time being could you manually add something to /boot/config.txt or would it be overwritten by the GPIO App?
if the app would not overwrite it, you could use something like:
gpio=20=pu --> 'this would pull GPIO 20 up(actual pin 38)
gpio=20=pd --> 'this would pull GPIO 20 down(actual pin 38)
you would use pull up if the if you connect the other wire to GND and pull down if you connect the other wire to 3.3v - never connect to more than 3.3v
if the app would not overwrite it, you could use something like:
gpio=20=pu --> 'this would pull GPIO 20 up(actual pin 38)
gpio=20=pd --> 'this would pull GPIO 20 down(actual pin 38)
you would use pull up if the if you connect the other wire to GND and pull down if you connect the other wire to 3.3v - never connect to more than 3.3v