Home > other >  A serial port communication problems
A serial port communication problems

Time:10-16

How do you determine the PC sends a string is returned then MCU corresponding characters, such as PC send 1 send 2 MCU microcontroller return ok PC return hellow, don't send 1 2 does not return value

CodePudding user response:

A serial port to accept to send, receive 1 and 2, respectively corresponding to a serial port to send OK and hellow

CodePudding user response:

This kind of problem, the simulator to be debugged,

CodePudding user response:

After a serial port of the get API to judge the asic value
  • Related