cond080 Posted January 2, 2021 Posted January 2, 2021 Armbianmonitor: http://ix.io/2KEb hello there, and Happy New Year I have OPI PC PLUS, and it was unused for a while , then I did update upgrade it and since this time my old python scripts doesn't work at all it looks like scripts turn on OK but nothen happend I use OrangePi.GPIO 0.6.3
cond080 Posted January 2, 2021 Author Posted January 2, 2021 actually doesn't work python script like this: import time import OPi.GPIO as GPIO GPIO.setboard(GPIO.PCPCPLUS) # Orange Pi PC board GPIO.setmode(GPIO.BCM) RELAIS_1_GPIO = 20 GPIO.setup(RELAIS_1_GPIO, GPIO.OUT) # GPIO Assign mode GPIO.output(RELAIS_1_GPIO, GPIO.LOW) # out GPIO.output(RELAIS_1_GPIO, GPIO.HIGH) # on
cond080 Posted January 10, 2021 Author Posted January 10, 2021 my mistake , my scripts was wrong but they worked somehow
Recommended Posts