gpt4 book ai didi

c++ - Arduino IDE 无法检测到 ZumoMotor.H(PIXY PET)

转载 作者:行者123 更新时间:2023-11-28 06:41:27 27 4
gpt4 key购买 nike

我正在尝试让 pixy 宠物为我的项目工作。 https://learn.adafruit.com/pixy-pet-robot-color-vision-follower-using-pixycam/playing-with-your-pet .

我为 arduino IDE 使用了给定的代码,但我一直收到此错误Arduino:1.5.7 (Windows 7),开发板:“Arduino Leonardo”

sketch_sep17a.ino:27:24: fatal error: ZumoMotors.h: No such file or directory
compilation terminated.

这份报告将提供更多信息 “在编译期间显示详细输出” 在文件 > 首选项中启用。


我使用的代码是由 Pixy Pet 的官方制造商提供的。请看一看。 ( https://learn.adafruit.com/pixy-pet-robot-color-vision-follower-using-pixycam/the-code )

最佳答案

最好在 Arduino Stack Exchange 中发布此问题 http://arduino.stackexchange.com

与此同时,您是否下载了 ZumoMotos.h 库?

如果没有,请下载并复制到您的 .ino 的同一文件

https://github.com/pololu/zumo-shield/blob/master/ZumoMotors/ZumoMotors.h

关于c++ - Arduino IDE 无法检测到 ZumoMotor.H(PIXY PET),我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/25883273/

27 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com