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.
如何在 C# 中通过串口发送我的设备ctrl+ ?c
串行端口不传输密钥。它们传输字节,通常是字符的 ASCII 表示。
“Keys.ControlKey & Keys.C”与感知 PC 键盘上发生的事情有关。但是串口并不传输键盘的整个状态。例如,F 键和箭头完全在 ASCII 系统之外。
ASCII 图表会告诉您,例如,Ctrl-A是 1,Ctrl-B是 2,Ctrl-C是 3,'A' 是 65,等等。