+ 7
How to assign value of a potentiometer encoder to a slider encoder?
2 Antworten
+ 3
can you please post your current code, than maybe we can take a look, to find out what is the problem. without that, its hard to help.
+ 7
Thomas Wittek , for example:
for i in range(3):
print("case")
self.sliders19to21.append((Scale(self.page[i+1], variable=((self.read_ser_int+5)//10) , from_=0, to=5, orient=VERTICAL, tickinterval=1, length=500, width=42, sliderlength=100)))
self.sliders19to21[i].place(relx=0.75, rely=0.0)
self.sliders19to21[i].set(self.read_ser_int)
but self.sliders19to21[i].set() is not still assigning value to the slider