java/.net/vb程序帮助 [英] java/.net/vb program help
本文介绍了java/.net/vb程序帮助的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我需要一个java/.net/vb中的程序来通过计算机上的RS232串行电缆自动显示来自微控制器的数据.例如,如果按下微控制器中的按钮,则必须增加相应的计数/变量并将其显示在计算机屏幕上.
Hi, I needed a program in java/.net/vb for automatically displaying data coming from micro-controller through RS232 serial cable on the computer. for example , if an button in the micro-controller is pressed , corresponding count/variable must be incremented and it should be displayed on the computer screen.
推荐答案
With. NET,您只需要使用类System.IO.Ports.SerialPort
,请参见:
http://msdn.microsoft.com/en-us/library/system. io.ports.serialport.aspx [ ^ ].
—SA
With .NET, all you need is using the classSystem.IO.Ports.SerialPort
, please see:
http://msdn.microsoft.com/en-us/library/system.io.ports.serialport.aspx[^].
—SA
这篇关于java/.net/vb程序帮助的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文