Toilet paper
Toilet paper

Reputation: 3

Using Tkinter and GPIO with root privileges (LED Matrix)

I have a project where I want to create an LED Matrix display board for my teacher. For him to be able to control it, I have a mini touchscreen which I am writing a tkinter program to allow him to put stuff on the board.

The issue I am running into is that the rpi-rgb-led-matrix (https://github.com/hzeller/rpi-rgb-led-matrix) library I am using requires root privileges whereas tkinter does not let you run a window as root. How can I get around this issue? I have a file (matrix.py) which has functions in it, which I would like to call from ui.py.

Thanks for any help given!

Upvotes: 0

Views: 43

Answers (0)

Related Questions