You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Could you please tell us how did you install the OPI.GPIO package ?
This repository is developped upon other implementation of OPI.GPIO and if you download it without specifying this github path precisely, you might donwload that version (which not implement the functions for the H616 board)
Hello,
I have stumbled upon an error.
When trying to run the blink_led.py example there is a message:
The start of the code:
import OPi.GPIO as GPIO
from time import sleep
GPIO.setboard(GPIO.H616) # in my case its H616
GPIO.setmode(GPIO.BOARD)
GPIO.setup(11, GPIO.OUT)
The error occurs at line 8:
'module' object has no attribute 'setboard'.
as OPi.GPIO is our module there seems to be a problem there. Inside the OPi file I can only see one Init file which doesn't include any attributes.
Is there an attribute file missing?
Thanks for your help in advance
The text was updated successfully, but these errors were encountered: