Skip to content

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

@divyansh-kumar

Description

@divyansh-kumar

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions