有没有办法通过Arduino处理(在计算机上运行的程序)打开网络套接字?我想在处理程序上打开一个客户端或服务器套接字,这样我就可以通过WiFi与它对话,并通过串行连接控制我的Arduino。串行连接的东西正在工作,我现在想要的是通过网络控制处理的方法。当然,我可以通过wifi屏蔽直接控制Arduino,但请不要担心。
发布于 2012-06-06 15:07:13
因为我理解你的问题,你希望在处理过程中做网络。有一个library可以做到这一点。它允许您创建简单的客户端或服务器。
The Network library makes it easy to read and write data across machines on the Internet. It allows the creation clients and servers. A server connects to a list of clients for reading and writing data. A client is able to read and write data to a server.
祝你好运。
发布于 2012-06-06 11:42:26
是的,有一个library可以在没有以太网卡的情况下使用Arduino来执行SLIP (串行线互联网协议)。
https://stackoverflow.com/questions/10907872
复制相似问题