如何使用c#中的用户输入值在串口上写入? [英] How to write on serial port using user input value in c#?
本文介绍了如何使用c#中的用户输入值在串口上写入?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我正在研究wifi项目,所以我想在串口上写一些wifi命令,用户输入值都是用C#写在串口上的。所以我怎么能把它写在串口上。
plz给我解决方案......
谢谢提前
samruddhi ..
I am working on wifi project so i want to write on serial port with some wifi commands and user input value both are write on serial port using C#. so how could i write it on serial port.
plz give me solution...
thanks in advance
samruddhi..
推荐答案
http://msdn.microsoft.com/en-us/library/system.io.ports.serialport.aspx [ ^ ]
< a href =http://www.c-sharpcorner.com/uploadfile/eclipsed4utoo/communicating-with-serial-port-in-C-Sharp/> http://www.c-sharpcorner.com/uploadfile/ eclipsed4utoo / communication-with-serial-port-in-C-Sharp / [ ^ ]
http://smileymicros.com/blog/2011/06/ 10 / serial-communications-part-2-a-simple-terminal-2 / [ ^ ]
将字符写入c#中的com端口 [ ^ ]
http://msdn.microsoft.com/en-us/library/system.io.ports.serialport.aspx[^]
http://www.c-sharpcorner.com/uploadfile/eclipsed4utoo/communicating-with-serial-port-in-C-Sharp/[^]
http://smileymicros.com/blog/2011/06/10/serial-communications-part-2-a-simple-terminal-2/[^]
writing characters to com ports in c#[^]
这篇关于如何使用c#中的用户输入值在串口上写入?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文