Place the B=None statement at the top of your code, not in the function. This should work
root = ttk.Tk() root.title("Read Sensor") B=None
Display more than one button in GUI to display MPU6000 Sensor readings
|
|
Messages In This Thread |
Display more than one button in GUI to display MPU6000 Sensor readings - by barry76 - Dec-28-2018, 09:49 AM
RE: Display more than one button in GUI to display MPU6000 Sensor readings - by woooee - Dec-28-2018, 08:31 PM
RE: Display more than one button in GUI to display MPU6000 Sensor readings - by jenkins43 - Jan-03-2019, 12:23 PM
RE: Display more than one button in GUI to display MPU6000 Sensor readings - by woooee - Jan-03-2019, 06:15 PM
RE: Display more than one button in GUI to display MPU6000 Sensor readings - by wuf - Jan-05-2019, 01:48 PM
|