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

How to show data in simple gui like Tkinter #15

Open
maharzan opened this issue Jun 6, 2022 · 0 comments
Open

How to show data in simple gui like Tkinter #15

maharzan opened this issue Jun 6, 2022 · 0 comments

Comments

@maharzan
Copy link

maharzan commented Jun 6, 2022

I am new to Pi and Python so have been trying to set this up in my 16s JBD. I have successfully run the first command after some tries and its showing the cell details partially in the command prompt (if that is what is called). But I want to set this up in a gui and simplest one seems to be Tkinter. I have a 4 in LCD so want to show only things I need so I can set this up in my car. I am not sure where to put the Tkinter code or how I can make a separate file so it pulls data every second and shows it on the screen. I tried to add to functions like cellinfo1(data) but it seems it pops up window every second. I also tried to add window code outside of function and only change text in the cellinfo function but that doesn't seem to work. Any clue would be very helpful. I didn't know where to ask so put it up here.. hoping for a reply. Thanks.

Just to add, I don't need to save the data in the db.. I just want to check the data realtime.

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