string variables not working on raspberry pi
I have been using string variables in my "controller" for my raspberry pi
robot which change depending on a users arrow key inputs and when they
change sends the information over a socket server. this program runs fine
on my laptop and a basic server that prints the information received runs
on my Raspberry Pi. I am now working on using this information to control
motors etc. My issue is for some reason i can't get this line to work.
drivelabel = StringVar()
I get an error during the compiling where it states it cant find StringVar
as if it is treating it as a variable I set earlier. I have imported
tkinter in the exact same method as I did on my laptop.
Why is this not working? How do I fix it or what should I use instead
(bearing in mind the variables are received in a function within a class
called in by the Main
No comments:
Post a Comment