Page 2 of 2

Re: RevPi DIO output control

Posted: 25 Jul 2018, 09:28
by Marcelin
I recently tried to print(bits_in) and I get 255 meaning all the bits are high. But I am triggering only the input pin_4 and expecting all the other pins to be low.
Did I mess something or should the pictory configuration be somehow resset?
For the inputs I connected the ground on the input ground of X2 and the supply only at the input pin_4.

Any help is much appreciated.
Thanks

Re: RevPi DIO output control

Posted: 25 Jul 2018, 15:18
by dirk
Hello Marcelin,
in the picture the LED "IN" is lighting red. This indicates that here is no power supply on the X2 plug.
This is necessary for the DIO to indicate Low and High signal levels.
Have a look at the tutorial connecting the power supply.

Re: RevPi DIO output control

Posted: 25 Jul 2018, 16:33
by Marcelin
Ah right!

Thanks for the hint!