Page 1 of 1

Define GPIO in /boot/config.txt

Posted: Monday 27 April 2020 18:23
by ulfh2018
I am trying to define the GPIOs I need in config.txt. Seems to be defined as I want, that is I define 6 differnet GPIOs using the following syntax:

gpio=17=op,dh
gpio=18=op,dh
gpio=27=op,dh
gpio=22=op,dh
gpio=23=op,dh
gpio=24=op,dh

if I execute gpio readall the gpios are shown as expected, but I cannot acces the GPIO ports from Domoticz, which I can, if I define them in rc.local.

My problem is (as I have mentioned in another posting) that I don't want the relays I am using to switch on at boot time, and the only way I have been able to do this is defining them in config.txt