Permission restriction

I am working on a drone app and whenever I try launching the app, I receive the error message below. can anyone please help me.

pi@navio:~/cloudapp-raspi $ python3 app.py
pinMode PWM: Unable to do this when using /dev/gpiomem. Try sudo?

Hi Joseph,

Welcome back to the forum!

Though I’m not sure I understand your whole setup, it seems you can fix this by making your user a member of the gpio group. Here’s the post on another forum that can help with the configuration.

thank you very much!!! I really appreciate it.

1 Like

I’m always glad to be of help!