i was printing the input from a RF433 MHZ receiver.
I'm using this simple code, just to see what was coming in:
#!/usr/bin/python # Hello world python print "Gestart" import RPi.GPIO as GPIO GPIO.setmode(GPIO.BOARD); GPIO.setup(18, GPIO.IN) while True: input_value = GPIO.input(18) print "--" + str(input_value)
But then i got a very high number of True and False values in the command prompt.
When i decoupled the receiver from the cable, i still got these values printer out to the command prompt.
Only when i completely removed the cable from the device, i got only False values.
Is it 'normal' that when you attach a connector cable
you already receive True values?