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

Ubuntu RPI 4B PermissionError #3

Open
Mattz-CE opened this issue Jan 7, 2024 · 0 comments
Open

Ubuntu RPI 4B PermissionError #3

Mattz-CE opened this issue Jan 7, 2024 · 0 comments

Comments

@Mattz-CE
Copy link

Mattz-CE commented Jan 7, 2024


PermissionError Traceback (most recent call last)
Cell In[2], line 1
----> 1 lcd = LCD()
3 def safe_exit(signum, frame):
4 exit(1)

File ~/.local/lib/python3.10/site-packages/rpi_lcd/init.py:23, in LCD.init(self, address, bus, width, rows, backlight)
21 def init(self, address=0x27, bus=1, width=20, rows=4, backlight=True):
22 self.address = address
---> 23 self.bus = SMBus(bus)
24 self.delay = 0.0005
25 self.rows = rows

PermissionError: [Errno 13] Permission denied

@Mattz-CE Mattz-CE changed the title Ubuntu RPI 4B Ubuntu RPI 4B PermissionError Jan 7, 2024
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