please, when I read GPIO pin:
- empty - read 0 - correct
- connected to +3,3 V - read 1 - correct
- connected to GND - read 0 - correct
- connected to free cable (with unconnected second end) - read 0/1 with high frequency change - WHY?
How it's possible read still zero on unconnected (ungrounded) pin?
I read value through python RPi.GPIO:
Code: Select all
while True: print GPIO.input(7)