如何从串口接收数据 [英] How to Receive data from serial port

查看:65
本文介绍了如何从串口接收数据的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

你好,





我有一个项目。我想从arduino接收数据并将输出显示为visual basic。我不知道该怎么办 。有人能帮助我吗?这是一个学校项目。谢谢。

推荐答案

使用 SerialPort类 [ ^ ]实例。该链接包含一个示例,但我可能会使用 DataRecieved事件 [ ^ ]我自己。
Use a SerialPort class[^] instance. The link includes an example, but I''d probably use the DataRecieved Event[^] myself.


OriginalGriff给了你很好的建议。我用Arduino就这样做了。



看看这个:

NET 2.0中串口的通信 [ ^ ]



如果您学习在串行通信网等文章中对本网站进行简单搜索,您会发现更多信息。
OriginalGriff has given you good advice. I have done it that way myself with an Arduino.

Check this out:
Communication on a serial port in NET 2.0[^]

If you learn to do a simple search on this site within articles such as "serial communication net" you will find plenty more.


这篇关于如何从串口接收数据的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆