« first day (1681 days earlier)      last day (1675 days later) » 

1:50 PM
ser = serial.Serial('COM3', timeout=1)
ser.baudrate = 115200

def win_read():
while True:
output = ser.read(10000).decode('utf-8', 'ignore')
print(output)

root = tk.Tk()
S = tk.Scrollbar(root)
T = tk.Text(root, height=4, width=50)
S.pack(side=tk.RIGHT, fill=tk.Y)
T.pack(side=tk.LEFT, fill=tk.Y)
S.config(command=T.yview)
T.config(yscrollcommand=S.set)
quote = win_read
T.insert(tk.END, win_read)
tk.mainloop()
 
1 message moved from Python
 

« first day (1681 days earlier)      last day (1675 days later) »