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
RevPi DIO output control
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.
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.
Ah right!
Thanks for the hint!
Thanks for the hint!