Search found 1 match
- Tue Aug 02, 2022 2:13 pm
- Forum: General Discussion
- Topic: serial communication
- Replies: 0
- Views: 12075
serial communication
Hello, PLC engineer here, so my programming skills are not great. So, I need to make a communication with an equipment which comunicates on usb. This is the code I wrote import serial port = "COM4" baudrate = 9600 ser = serial.Serial(port,baudrate,timeout=0.001) while True: data = ser.read...