cond080 Posted January 2, 2021 Share 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 0 Quote Link to comment Share on other sites More sharing options...
cond080 Posted January 2, 2021 Author Share 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 0 Quote Link to comment Share on other sites More sharing options...
cond080 Posted January 10, 2021 Author Share Posted January 10, 2021 my mistake , my scripts was wrong but they worked somehow 0 Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.