BlueWave Studio forum
Is it possible to change at wicht state gpio works - Printable Version

+- BlueWave Studio forum (https://bluewavestudio.io/community)
+-- Forum: Community (https://bluewavestudio.io/community/forum-85.html)
+--- Forum: General (https://bluewavestudio.io/community/forum-57.html)
+--- Thread: Is it possible to change at wicht state gpio works (/thread-1142.html)



Is it possible to change at wicht state gpio works - ronald001 - 09-21-2019

NOw

Its like this way
I have set gpio2 for rearcam and gpio 3 for toogle day/nigth mode

now its like this way
if i turn on pi cam starts automatic and set nigth mode

cuz pins are high

but i want that rearcam open if gpio pin goes low cuz on my pdc there is one line if pdc goes on this line goes low
so i can connect it directli to pdc

so is there one way to say setup gpio to low to use funktion?
because at this state its like i pit pin low rearcam close
i want or better i need it in the other way
pin goes low start rearcam

i use 3.3.2 rc


RE: Is it possible to change at wicht state gpio works - ronald001 - 09-21-2019

for day nigth easy solution

i change day to nigth and night to day in service.ini


RE: Is it possible to change at wicht state gpio works - Daniel_BlueWave - 09-21-2019

You can check this: https://bluewavestudio.io/community/showthread.php?tid=1015