硬件: ESP8266 12f, ESP8266 Node MCU
接入方式: [WIFI]
开发环境: [Arduino IDE 1.8.15]
库版本: esp8266 3.0,blinker-library-dev_3.0,DallasTemperature 3.9.0,Servo 1.0.2
操作系统: [Windows]
[td]Executable segment sizes: | ICACHE : 32768 - flash instruction cache | IROM : 509376 - code in flash (default or ICACHE_FLASH_ATTR) | IRAM : 29801 / 32768 - code in IRAM (IRAM_ATTR, ISRs...) | DATA : 1788 ) - initialized variables (global, static) in RAM/HEAP | RODATA : 4164 ) / 81920 - constants (global, static) in RAM/HEAP | BSS : 31128 ) - zeroed variables (global, static) in RAM/HEAP
| 项目使用了 545129 字节,占用了 (56%) 程序存储空间。最大为 958448 字节。 | 全局变量使用了37080字节,(45%)的动态内存,余留44840字节局部变量。最大为81920字节。[/td]
问题:设置定时任务超过4个时报错,有时会造成设备重启或crash:
[td]20:52:14.436 -> [177634] ERROR: Print data is not Json! {"data":{"timing":[{"task":0,"ena":1,"day":"1111111","tim":540,"act":[{"btn-ski":"on"}]},{"task":1,"ena":1,"day":"1111111","tim":1080,"act":[{"btn-ski":"off"}]},{"task":2,"ena":1,"day":"1111111","tim":480,"act":[{"btn-2ct":"on"}]},{"task":3,"ena":1,"day":"1111111","tim":600,"act":[{"btn-2ct":"on"}]},{"task":4,"ena":1,"day":"1111111","tim":720,"act":[{"btn-2ct":"on"}]}]},"fromDevice":"DC9E08CEO4TI1Y972M98TWMY","toDevice":"99a391f9204262a13caf9672f4c60b23","deviceType":"OwnApp"} | 20:52:44.402 -> [207604] ERROR: Print data is not Json! {"data":{"timing":[{"task":0,"ena":1,"day":"1111111","tim":540,"act":[{"btn-ski":"on"}]},{"task":1,"ena":1,"day":"1111111","tim":1080,"act":[{"btn-ski":"off"}]},{"task":2,"ena":1,"day":"1111111","tim":480,"act":[{"btn-2ct":"on"}]},{"task":3,"ena":1,"day":"1111111","tim":600,"act":[{"btn-2ct":"on"}]},{"task":4,"ena":1,"day":"1111111","tim":720,"act":[{"btn-2ct":"on"}]}]},"fromDevice":"DC9E08CEO4TI1Y972M98TWMY","toDevice":"99a391f9204262a13caf9672f4c60b23","deviceType":"OwnApp"}
[/td]
以前一直没问题。
|