Define GPIO in /boot/config.txt

Topics (not sure which fora)
when not sure where to post, post here and mods will move it to right forum.

Moderators: leecollings, remb0

Post Reply
ulfh2018
Posts: 65
Joined: Sunday 11 November 2018 9:01
Target OS: Raspberry Pi / ODroid
Domoticz version: Beta
Location: Oslo
Contact:

Define GPIO in /boot/config.txt

Post 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
Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest