Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Does it support orange pi 3lts? #62

Open
KKmmmin opened this issue Mar 21, 2022 · 7 comments
Open

Does it support orange pi 3lts? #62

KKmmmin opened this issue Mar 21, 2022 · 7 comments

Comments

@KKmmmin
Copy link

KKmmmin commented Mar 21, 2022

Does it support orange pi 3lts?

@timo12357
Copy link

I have an Orangepi 3 lts and I have not been able to make it work. I guess it indeed does NOT work with Orangepi 3 lts.

@mjeveritt
Copy link

It may need a new board config file creating ..

@timo12357
Copy link

How do I do that?

@nyavana
Copy link

nyavana commented May 20, 2023

Tested, does not work on pi3 lts.

@nyavana
Copy link

nyavana commented May 20, 2023

To be specific, this is the error I am getting:
File "test.py", line 3 import orangepi.3 ^^ SyntaxError: invalid syntax
Not sure if it is an user error or something wrong with my environment / installation

@pdrlmfr
Copy link

pdrlmfr commented Aug 2, 2023

@nyavana have you solved? i got the same error

@nathan-osman
Copy link

I get:

>>> import OPi.GPIO as GPIO
>>> GPIO.setmode(GPIO.BOARD)
>>> GPIO.setup(12, GPIO.OUT)
OSError: [Errno 22] Invalid argument

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "[...]/lib/python3.11/site-packages/OPi/GPIO.py", line 482, in setup
    sysfs.direction(pin, direction)
  File "[...]/lib/python3.11/site-packages/OPi/sysfs.py", line 52, in direction
    with open(path, "w") as fp:
OSError: [Errno 22] Invalid argument

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

6 participants