|
@@ -24,11 +24,14 @@ class MainWindow(tk.Frame):
|
|
|
calibrate_button.pack(side="top")
|
|
|
calibrate_button_next = tk.Button(self.controls,text="calibrate_next",command=self.calibration_state.next_state)
|
|
|
calibrate_button_next.pack(side="top")
|
|
|
- cs = tk.Label(self.controls, text=str(self.calibration_state.return_state()), anchor="c")
|
|
|
+
|
|
|
+ self.csString = tk.StringVar()
|
|
|
+ cs = tk.Label(self.controls, textvariable=self.csString, anchor="c")
|
|
|
cs.pack(side="top", fill="both", expand=True)
|
|
|
|
|
|
def update(self):
|
|
|
self.graph.update()
|
|
|
+ self.csString.set(self.calibration_state.state_clearname())
|
|
|
self.root.after(30, self.update)
|
|
|
|
|
|
def calibrate(self):
|