|
发表于 2019-4-22 12:57:46
|
显示全部楼层
Arduino:1.8.9 (Windows 7), 开发板:"Generic ESP8266 Module, 80 MHz, Flash, Disabled, ck, 26 MHz, 40MHz, DIO, 1M (no SPIFFS), 2, v2 Lower Memory, Disabled, None, Only Sketch, 115200"
警告: Timezone 库要求运行在 (avr) 架构(),可能与你现在运行在 (esp8266) 架构上的开发板()不兼容。
NewNTPClock:38:13: error: 'D5' was not declared in this scope
#define CLK D5//pins definitions for TM1637 and can be changed to other ports
^
C:\Users\ADMINI~1\AppData\Local\Temp\arduino_modified_sketch_252289\NewNTPClock.ino:40:15: note: in expansion of macro 'CLK'
TM1637 tm1637(CLK, DIO);
^
NewNTPClock:39:13: error: 'D6' was not declared in this scope
#define DIO D6
^
C:\Users\ADMINI~1\AppData\Local\Temp\arduino_modified_sketch_252289\NewNTPClock.ino:40:20: note: in expansion of macro 'DIO'
TM1637 tm1637(CLK, DIO);
^
exit status 1
'D5' was not declared in this scope
在文件 -> 首选项开启
“编译过程中显示详细输出”选项
这份报告会包含更多信息。
楼主,下载程序到esp8266出现这个是什么情况? |
|