Home > Net >  A serial port to send questions, online, etc
A serial port to send questions, online, etc

Time:01-24

Written in c # serial port to send a program, the important parts of the below this,
String ss="001";
ASCIIEncoding ASCII=new ASCIIEncoding ();
Byte [] buf=ASCII. GetBytes (ss);
MSerialPortTo. Write (buf, 0, buf. Length);
Someone can receive, but the other program is only my side hair a few times each other just can have fast response, a second three, four,
Use each other's own serial procedures, send a time,
Please look at the, thank you

CodePudding user response:

Make sure that your code carefully whether to follow your agreement,
  •  Tags:  
  • C#