coloz
发表于 2020-7-31 15:19
Qunicy 发表于 2020-7-31 15:18
您好,我这边路由器上面显示WIFIduino和手机都链接到路由器了,但是手机APP还是显示离线,串口监视器也有数 ...
https://www.arduino.cn/thread-95396-1-1.html
「T.C.H.P.」
发表于 2020-9-28 11:50
大佬,我报错:
Arduino:1.8.13 (Windows 10), 开发板:"Generic ESP8266 Module, 80 MHz, Flash, Disabled, All SSL ciphers (most compatible), ck, 26 MHz, 40MHz, DOUT (compatible), 512K (no SPIFFS), 2, nonos-sdk 2.2.1 (legacy), v2 Lower Memory, Disabled, None, Only Sketch, 115200"
c:/users/tuus-zbc/appdata/local/arduino15/packages/esp8266/tools/xtensa-lx106-elf-gcc/2.5.0-3-20ed2b9/bin/../lib/gcc/xtensa-lx106-elf/4.8.2/../../../../xtensa-lx106-elf/bin/ld.exe: C:\Users\TUUS-ZBC\AppData\Local\Temp\arduino_build_138741/ESP8266.ino.elf section `.irom0.text' will not fit in region `irom0_0_seg'
collect2.exe: error: ld returned 1 exit status
exit status 1
为开发板 Generic ESP8266 Module 编译时出错。
怎么解决?
赵三哥
发表于 2020-12-4 22:21
编译时显示compilation terminated. exit status 1 Blinker.h: No such file or directory
奈何col
发表于 2020-12-4 22:25
赵三哥 发表于 2020-12-4 22:21
编译时显示compilation terminated. exit status 1 Blinker.h: No such file or directory
没装lib,请按文档操作
赵三哥
发表于 2020-12-4 22:59
奈何col 发表于 2020-12-4 22:25
没装lib,请按文档操作
已经安装了ESP8266 2.7.4的库了,还是不行
赵三哥
发表于 2020-12-4 23:10
奈何col 发表于 2020-12-4 22:25
没装lib,请按文档操作
请问大神如何安装?刚入坑的小白求教!
奈何col
发表于 2020-12-5 02:01
赵三哥 发表于 2020-12-4 22:59
已经安装了ESP8266 2.7.4的库了,还是不行
没装blinker lib,请看文档哦
赵三哥
发表于 2020-12-5 20:52
奈何col 发表于 2020-12-5 02:01
没装blinker lib,请看文档哦
已安装blinker库还是出错Arduino:1.8.13 (Windows 7), 开发板:"NodeMCU 1.0 (ESP-12E Module), 80 MHz, Flash, Legacy (new can return nullptr), All SSL ciphers (most compatible), 4MB (FS:2MB OTA:~1019KB), 2, v2 Lower Memory, Disabled, None, Only Sketch, 115200"
H:\ESP8266\Arduino\diandeng\diandeng.ino: In function 'void setup()':
diandeng:35:43: error: no matching function for call to 'BlinkerDebug::stream()'
BLINKER_DEBUG.stream(BLINKER_PRINT);
^
H:\ESP8266\Arduino\diandeng\diandeng.ino:35:43: note: candidate is:
In file included from C:\Users\Administrator\Documents\Arduino\libraries\blinker-library-master\src/Adapters/BlinkerMQTT.h:32:0,
from C:\Users\Administrator\Documents\Arduino\libraries\blinker-library-master\src/BlinkerESPMQTT.h:10,
from C:\Users\Administrator\Documents\Arduino\libraries\blinker-library-master\src/Blinker.h:36,
from H:\ESP8266\Arduino\diandeng\diandeng.ino:4:
C:\Users\Administrator\Documents\Arduino\libraries\blinker-library-master\src/Adapters/../Blinker/BlinkerDebug.h:37:14: note: void BlinkerDebug::stream(Stream&, BlinkerDebug::blinker_debug_level_t)
void stream(Stream& s, blinker_debug_level_t level = _debug_default);
^
C:\Users\Administrator\Documents\Arduino\libraries\blinker-library-master\src/Adapters/../Blinker/BlinkerDebug.h:37:14: note: candidate expects 2 arguments, 0 provided
exit status 1
no matching function for call to 'BlinkerDebug::stream()'
找到无效库在 C:\Users\Administrator\Documents\Arduino\libraries\Arduino15: no headers files (.h) found in C:\Users\Administrator\Documents\Arduino\libraries\Arduino15
在文件 -> 首选项开启
“编译过程中显示详细输出”选项
这份报告会包含更多信息。
奈何col
发表于 2020-12-5 21:55
赵三哥 发表于 2020-12-5 20:52
已安装blinker库还是出错Arduino:1.8.13 (Windows 7), 开发板:"NodeMCU 1.0 (ESP-12E Module), 80 MHz,...
确保lib及package为最新,并使用例程测试
Gxn01
发表于 2020-12-15 20:11
如果是ESP01一拖二(两个继电器),代码怎么改?
页:
1
2
3
4
5
6
7
8
[9]
10
11
12