It works on some pins sometimes and on some other times, it seems to be completely random
import RPi.GPIO as GPIO print(GPIO.VERSION)>>> print(GPIO.VERSION) 0.7.0
Hlelo everyone, I dont know what is the problem here but my pullups are not working, can you help me? This is my code, but the measured voltage is not 3.3v it fluctuates all around except when i connect it to ground. Then, its 0 Below is my code..... I run it with --------- python3 input.py 11 (in the case of pin 11) import RPi.GPIO as GPIO import time import sys pinLeft = int(sys.argv[1]) print(pinLeft) GPIO.setmode(GPIO.BOARD) GPIO.setup(pinLeft, GPIO.IN, pull_up_down=GPIO.PUD_UP) while True: if...