Warning!EEPROM address 1536-2431 is used for Blinker Timer!-Arduino中文社区 - Powered by Discuz! Archiver

popopo258 发表于 2021-3-1 17:14

Warning!EEPROM address 1536-2431 is used for Blinker Timer!

__       __                __
/\ \   /\ \    __      /\ \            v0.3.4
\ \ \___ \ \ \/\_\    ___\ \ \/'\      __   _ __   
\ \ '__`\\ \ \ \/\ \ /' _ `\ \ , <    /'__`\/\`'__\
\ \ \L\ \\ \ \_\ \ \/\ \/\ \ \ \\`\ /\__/\ \ \./
   \ \_,__/ \ \__\\ \_\ \_\ \_\ \_\ \_\ \____\\ \_\
    \/___/   \/__/ \/_/\/_/\/_/\/_/\/_/\/____/ \/_/
    To better use blinker with your IoT project!
    Download latest blinker library here!
    => https://github.com/blinker-iot/blinker-library

Connecting to wifi8952
ESP8266_MQTT initialized...

===========================================================
================== Blinker Timer loaded! ==================
Warning!EEPROM address 1536-2431 is used for Blinker Timer!
============= DON'T USE THESE EEPROM ADDRESS! =============
===========================================================

要怎样解决这样的问题,APP上显示,设备离线


popopo258 发表于 2021-3-1 17:16

#define BLINKER_WIFI

#include <Blinker.h>

char auth[] = "**************";//app中获取到的Secret Key(密钥)
char ssid[] = "***************";//WIFI名称
char pswd[] = "**************";//WIFI密码

// 新建组件对象
BlinkerButton Button1("btn-abc");
BlinkerNumber Number1("num-abc");

int counter = 0;

// 按下按键即会执行该函数
void button1_callback(const String & state)
{
    BLINKER_LOG("get button state: ", state);
    digitalWrite(LED_BUILTIN, !digitalRead(LED_BUILTIN));
}

// 如果未绑定的组件被触发,则会执行其中内容
void dataRead(const String & data)
{
    BLINKER_LOG("Blinker readString: ", data);
    counter++;
    Number1.print(counter);
}

void setup()
{
    // 初始化串口
    Serial.begin(115200);
    BLINKER_DEBUG.stream(Serial);
   
    // 初始化有LED的IO
    pinMode(LED_BUILTIN, OUTPUT);
    digitalWrite(LED_BUILTIN, HIGH);
    // 初始化blinker
    Blinker.begin(auth, ssid, pswd);
    Blinker.attachData(dataRead);

    Button1.attach(button1_callback);
}

void loop() {
    Blinker.run();
}



这是程序示例,,搞不懂哪里出错了

奈何col 发表于 2021-3-1 19:21

Warning是提示,不是错误。
显示离线见:
https://www.arduino.cn/forum.php?mod=viewthread&tid=95396

popopo258 发表于 2021-3-2 07:19

好的,再试一下,谢谢

popopo258 发表于 2021-3-2 07:53

WiFi Connected.
IP Address:
192.168.3.38
begin: https://iot.diandeng.tech/api/v1/user/device/diy/auth?authKey=57a3686bb2ec&version=0.1.0
GET... code: 200
reply was:
==============================
{"detail": {"broker": "blinker", "deviceName": "E11CCACE1KS23DA7Z4ZTJDGA", "host": "mqtts://broker.diandeng.tech", "iotId": "7swZ4xn4Qe9pZzYxMRrCUTrnbB", "iotToken": "YawNt5xS3u93K6SGRVQHoTiY6tceHUuN", "port": "1884", "productKey": "blinker", "uuid": "e11ccacf79b611eba1ff5254"}, "message": 1000}
==============================
====================
DEVICE_NAME_MQTT:
MQTT_PRODUCTINFO_MQTT:
MQTT_ID_MQTT:
MQTT_NAME_MQTT:
MQTT_KEY_MQTT:
MQTT_BROKER: blinker
HOST:
PORT: 0
UUID_MQTT: e11ccacf79b611eba1ff5254
====================

--------------- CUT HERE FOR EXCEPTION DECODER ---------------

Exception (28):
epc1=0x402210c0 epc2=0x00000000 epc3=0x00000000 excvaddr=0x00000424 depc=0x00000000

>>>stack>>>

ctx: cont
sp: 3ffffbc0 end: 3fffffc0 offset: 0190
3ffffd50:3fff8fac 3fff01f0 3fff01ec 4020a746
3ffffd60:00000000 00000000 3fff3424 3fff32ac
3ffffd70:0011001f 002548f4 3f0101bb 00001388
3ffffd80:3fff36b4 003f003f 00fee18c 70747468
3ffffd90:40250073 85fee0cc 3fff37e4 0000001f
3ffffda0:00252ec4 3fff31cc 0011001f 00254fec
3ffffdb0:40252800 3ffee248 80000002 00000000
3ffffdc0:00000000 00000000 ffffffff 00000001
3ffffdd0:00000000 0000000a 38333100 40220101
3ffffde0:80fffe50 00000000 00000000 3fff8900
3ffffdf0:3fff8ba4 3fff8c8e 3fff8f04 3fff8fa4
3ffffe00:3fff8f94 3fff8f04 3ffffe20 6e696c00
3ffffe10:0072656b 80ff0844 3fff3700 0010001f
3ffffe20:80000033 0000000a 3ffffe4d 4021d3a1
3ffffe30:3fff8994 0018001f 00fffe7c 6e696c62
3ffffe40:0072656b 87ff0844 6e696c62 0072656b
3ffffe50:87000000 3fff895c 0020002f 0021d3a1
3ffffe60:3fff8934 001a001f 00000a0d 3fff37bc
3ffffe70:0018001f 00000002 3fff8a6c 0128012f
3ffffe80:00000000 3fff355c 0058005f 00000000
3ffffe90:3fff323c 003b003f 00c6a7f0 3fff31a4
3ffffea0:0011001f 00ff0844 4010047c 0000088d
3ffffeb0:3ffffe00 3ffffdf0 00000000 3fff3424
3ffffec0:3fff380c 00000000 3fff0300 4020efcd
3ffffed0:40217a0c 3fffff00 3fffff00 3fff09a0
3ffffee0:3fffdad0 00000000 3ffefccc 4020a875
3ffffef0:007a1200 00000000 3ffefccc 4020aa31
3fffff00:40105421 000a4c33 3fff0a00 00000000
3fffff10:3ffef000 3fff0a00 0000000a 3fff09a0
3fffff20:3fffdad0 3fff0a00 0000000a 4021ed34
3fffff30:3fffdad0 00000000 3ffefccc 4020aa72
3fffff40:3fffdad0 00000000 3ffef800 4020ea28
3fffff50:3fff0844 3fff0300 3ffef800 40205cad
3fffff60:007a1200 48e5c08a 80efef00 feefef00
3fffff70:00000000 80efeffe feefef00 feefeffe
3fffff80:00000000 00000000 00000001 3fff09a0
3fffff90:3fffdad0 00000000 3fff0960 4020edcc
3fffffa0:3fffdad0 00000000 3fff0960 4021ee4c
3fffffb0:feefeffe feefeffe 3ffe85c0 40100ea5
<<<stack<<<

--------------- CUT HERE FOR EXCEPTION DECODER ---------------

ets Jan8 2013,rst cause:2, boot mode:(3,7)

load 0x4010f000, len 3584, room 16
tail 0
chksum 0xb0
csum 0xb0
v2843a5ac
~ld


__       __                __
/\ \   /\ \    __      /\ \            v0.3.4
\ \ \___ \ \ \/\_\    ___\ \ \/'\      __   _ __   
\ \ '__`\\ \ \ \/\ \ /' _ `\ \ , <    /'__`\/\`'__\
\ \ \L\ \\ \ \_\ \ \/\ \/\ \ \ \\`\ /\__/\ \ \./
   \ \_,__/ \ \__\\ \_\ \_\ \_\ \_\ \_\ \____\\ \_\
    \/___/   \/__/ \/_/\/_/\/_/\/_/\/_/\/____/ \/_/
    To better use blinker with your IoT project!
    Download latest blinker library here!
    => https://github.com/blinker-iot/blinker-library

Connecting to wifi8951
ESP8266_MQTT initialized...

===========================================================
================== Blinker Timer loaded! ==================
Warning!EEPROM address 1536-2431 is used for Blinker Timer!
============= DON'T USE THESE EEPROM ADDRESS! =============
===========================================================


串口一直不停的输出这个,设备还是离线

qmzbz 发表于 2021-3-4 18:40

以为就我出现这问题呢,刷点灯示例,上电开发版不断重启,app不断显示连接断开。疑心库错误,但是编译正常。32兆的esp 12e。

奈何col 发表于 2021-3-4 20:22

qmzbz 发表于 2021-3-4 18:40
以为就我出现这问题呢,刷点灯示例,上电开发版不断重启,app不断显示连接断开。疑心库错误,但是编译正常 ...

请确保是按照文档安装的lib和package

qmzbz 发表于 2021-3-4 21:05

奈何col 发表于 2021-3-4 20:22
请确保是按照文档安装的lib和package

arduino是1.8.13,8266_package_2.7.4,开发板选择的是nodemuc 1.0(esp 12e module),刷blinker的hello wifi,就改了秘钥和ssid、密码。问优信电子的客服小哥,他验证也是这种情况,说一个同事搞wifi小车也这情况,估计内存空间不够。我觉得程序不大呀,两台电脑,多个开发板都是这情况,晕

奈何col 发表于 2021-3-4 21:44

qmzbz 发表于 2021-3-4 21:05
arduino是1.8.13,8266_package_2.7.4,开发板选择的是nodemuc 1.0(esp 12e module),刷blinker的hello ...

lib按文档更新,不要用什么淘宝客服给你的

qmzbz 发表于 2021-3-4 23:11

更新库可以了,有网友说从github.com上下的库可能会因为网速慢有错误,对比大小果然不一样,奇怪。
页: [1] 2
查看完整版本: Warning!EEPROM address 1536-2431 is used for Blinker Timer!