09-21-2019, 01:23 PM
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
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