极客工坊

 找回密码
 注册

QQ登录

只需一步,快速开始

查看: 9607|回复: 1

ds18b20调试中的错误

[复制链接]
发表于 2016-12-5 10:35:01 | 显示全部楼层 |阅读模式
各位大神,为什么一直出现这种错误
Arduino:1.6.12 (Windows 10), 开发板:"Arduino/Genuino Uno"

错误信息如下
C:\Users\iice\Desktop\wendu2\wendu2.ino:2:31: warning: extra tokens at end of #include directive

#include <DallasTemperature.h>聽

                               ^

wendu2:8: error: stray '\302' in program

OneWire oneWire(ONE_WIRE_BUS);

^

wendu2:8: error: stray '\240' in program

wendu2:7: error: 'oneWire' was not declared in this scope

DallasTemperature sensors(&oneWire);

                            ^

exit status 1
stray '\302' in program

在文件 -> 首选项开启
“编译过程中显示详细输出”选项
这份报告会包含更多信息。

本帖子中包含更多资源

您需要 登录 才可以下载或查看,没有帐号?注册

x
回复

使用道具 举报

您需要登录后才可以回帖 登录 | 注册

本版积分规则 需要先绑定手机号

Archiver|联系我们|极客工坊

GMT+8, 2024-4-26 11:46 , Processed in 0.047067 second(s), 18 queries .

Powered by Discuz! X3.4 Licensed

Copyright © 2001-2021, Tencent Cloud.

快速回复 返回顶部 返回列表