|
@@ -59,6 +59,10 @@ class MainWindow(tk.Frame):
|
|
|
|
|
|
self.mag_label = tk.Label(self.controls, text="Magnetic Sensor", anchor="c", font=("Helvatica", 10, 'bold'))
|
|
self.mag_label = tk.Label(self.controls, text="Magnetic Sensor", anchor="c", font=("Helvatica", 10, 'bold'))
|
|
self.mag_label.pack(side="top", fill="both", expand=False)
|
|
self.mag_label.pack(side="top", fill="both", expand=False)
|
|
|
|
+ self.mag_dro_x = tk.StringVar()
|
|
|
|
+ self.mag_dro_y = tk.StringVar()
|
|
|
|
+ tk.Label(self.controls, textvariable=self.mag_dro_x, anchor = "nw").pack(side = "top", fill = "both", expand = False)
|
|
|
|
+ tk.Label(self.controls, textvariable=self.mag_dro_x, anchor = "nw").pack(side = "top", fill = "both", expand = False)
|
|
|
|
|
|
self.quit_button = tk.Button(self.controls, text="Quit", command=self.root.destroy, height=2, foreground="red")
|
|
self.quit_button = tk.Button(self.controls, text="Quit", command=self.root.destroy, height=2, foreground="red")
|
|
self.quit_button.pack(side="bottom", fill="both")
|
|
self.quit_button.pack(side="bottom", fill="both")
|