Windows IoT上的Arduino库 [英] Arduino libraries on Windows IoT

查看:69
本文介绍了Windows IoT上的Arduino库的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

大家好,

也许这个问题已经得到解答,但我找不到。

Maybe this question has already been answered, however, I can't find it.

不久之后与Arduino的时间我刚刚切换到Pi3上的Windows IoT,因为有更多的H / W资源,VS2017的逐步调试等等。在VS2017中有一个IoT-Arduino模板,但这是非常简陋的,只是交易使用IO引脚。
是的,在我试图转换的项目中我也需要这些,但我还需要更多。通过互联网挖掘我发现YouTube的内容和其他链接说"只需将所有源Arduino lib文件包含到您的新项目中,只需粘贴您的
草图并编译即可。然后你可以开始调试,部署或其他任何"。嗯,这不是它在现实中的运作方式。没有编译器错误,但缺少lib文件,当然不能执行代码。如果以下Arduino
库可以在物联网上使用,那么有人可以回答吗?

After long time with Arduino I just switched over to Windows IoT on Pi3 because of more H/W resources, step-by-step debugging with VS2017 and much more.. There is an IoT-Arduino template in VS2017 but this is very rudimentary and just deals with the IO pins. Yes, I need these as well in the project I'm trying to convert but I also need more. Digging through Internet I have found YouTube stuff and other links which says "Just include all the source Arduino lib files to you new project, simply paste in your sketch and compile. Then you can start debugging, deploy or whatever". Well, that isn't how it seems to be working in reality. No compiler errors but lib files are missing and code can't of course be executed. So can anyone answer if the below Arduino libs are possible to use on IoT at all?

- 以太网2(或以太网)

- DHT11

- Serial 1,2& 3

- Ethernet2 (or Ethernet)
- DHT11
- Serial 1, 2 & 3

注意,序列号1,2& Mega 2650上可以使用3,在Pi3上你可以使用USB端口(连接TTL或RS232的转换器)但是支持这个的模板?

Note, the Serial 1, 2 & 3 is available on the Mega 2650 and on the Pi3 you can use the USB ports (with converters to either TTL or RS232) attached but is the template supporting this?

如果答案是肯定的 - 那些图书馆正在运作 - 任何有关如何操作的指南都将受到赞赏。

If the answer is yes - those libraries are working - any guideline for how to do it would be appreciated.

最诚挚的问候,

Hans 

Hans 

  

  

推荐答案

亲爱的朋友,

对于Arduino接线项目,请参阅此官方指南:

For Arduino Wiring project, please refer to this official guide:

  Arduino布线移植指南:
https://docs.microsoft.com/en-us/windows/iot-core/learn-about-hardware/arduinowiringportingguide

 Arduino Wiring Porting Guide: https://docs.microsoft.com/en-us/windows/iot-core/learn-about-hardware/arduinowiringportingguide

认为您必须为以太网做一些移植工作,D HT和串行设备访问。

I think you have to do some porting job for your Ethernet, DHT and Serial Device access.


这篇关于Windows IoT上的Arduino库的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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