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

"No Pins" | Rock 5b+ | Ubuntu #1134

Open
divyansh-kumar opened this issue Oct 6, 2024 · 0 comments
Open

"No Pins" | Rock 5b+ | Ubuntu #1134

divyansh-kumar opened this issue Oct 6, 2024 · 0 comments

Comments

@divyansh-kumar
Copy link

divyansh-kumar commented Oct 6, 2024

Hello everyone,
I am trying to install mraa on my rock5b+ which is running ubuntu 24.04, everything is working fine except the mraa.
I have followed this guide https://docs.radxa.com/en/rock5/rock5b/app-development/mraa?board=ROCK+5B%2B
And have successfully compiled and installed mraa

With command mraa-gpio version it shows

Version v2.2.0 on Unknown platform

and mraa-gpio list shows No Pins

and because of that i cannot access it in my python code, which give me the error

rock5@rock5:~/Desktop$ sudo python3 blink.py Traceback (most recent call last): File "/home/rock5/Desktop/blink.py", line 5, in <module> gpio_1 = mraa.Gpio(23) ^^^^^^^^^ AttributeError: module 'mraa' has no attribute 'Gpio'

can someone help me solve this

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

1 participant