Feb-02-2019, 11:22 AM
Hi, With help of mentioned below code I have been able to get the result mentioned in below
Being new to I need some advice on making it work. Your leads are always valuable to me.
import serial ard = serial.Serial('COM4', 9600); while True: k = ard.readline().decode('ascii') c = k.split('|') print(c)
['19.14', '66.44', '83.87', '\r\n'] ['19.08', '66.34', '87.49', '\r\n'] ['19.11', '66.40', '84.07', '\r\n'] ['19.12', '66.42', '82.78', '\r\n'] ['19.15', '66.47', '87.69', '\r\n'] ['19.12', '66.42', '87.03', '\r\n'] ['19.14', '66.44', '88.17', '\r\n']But I need to display c[0], c[1], c[3] as label text in Tkinter and want to update all the label text after a certain time
Being new to I need some advice on making it work. Your leads are always valuable to me.