Home > other >  When simple serial communication experiment using python 0 x80 is received no matter what to send
When simple serial communication experiment using python 0 x80 is received no matter what to send

Time:10-06

The code is as follows:
The import serial
SerialPort="COM5"
BaudRate=115200
Ser=serial. Serial (serialPort baudRate, timeout=0.5)
A=100
Ser. Write (a)
Print (ser) read (100))
But in the end I sent is how much, how many 0 x80 will output (such as sending zero is nothing, to send 100 output 100 0 x80) below, want to know where is the problem really out,
  • Related