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

Code is not working #6

Open
ucibaris opened this issue Apr 10, 2022 · 2 comments
Open

Code is not working #6

ucibaris opened this issue Apr 10, 2022 · 2 comments

Comments

@ucibaris
Copy link

Hi,

I have tried to link this on my RPI-4B, Although I have followed all the instructions and enabled UART 1 and can see ttyS0, when I run the example code (tfluna_test.py or other examples) with sudo, it does generate errors as in there is permission denied or could not open port error for /dev/serial0. What do you suggest?

Regards

Baris

@krukhlis
Copy link

It's not a python issue.
Probably, you have to disable serial console in raspi-config.

@tadeegan
Copy link

Try sudo -E python xxx.py

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

3 participants