Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我正在通过串行端口向 gsm 调制解调器发送 AT-Command。
在 AT 命令结束时,我必须用Ctrl+终止命令z
我将如何在串口中做到这一点?
尝试这个
(char)26
char-z 的 ascii 细节
发送 ASCII 字符 0x1A。
看看ASCII码表
使用此命令
port.Write(txt_msgbox.Text + char.ConvertFromUtf32(26));