论坛上学习小爱控制ESP8266烧写故障请大神解答-Arduino中文社区 - Powered by Discuz! Archiver

Small_Atom 发表于 2020-2-26 12:16

论坛上学习小爱控制ESP8266烧写故障请大神解答

按照论坛给的代码:
#define BLINKER_WIFI
#define BLINKER_MIOT_LIGHT//支持小爱同学
#include <Blinker.h>
char auth[] = "62dbb4019a9b";//app中获取到的Secret Key(密钥)
char ssid[] = "Atom_Home_24G";
char pswd[] = "atom@qq.com";
int GPIO = 0; //定义继电器输入引脚为GPIO/0
// 新建组件对象
BlinkerButton Button1("btn-abc");//注意:要和APP组件’数据键名’一致
// 按下BlinkerAPP按键即会执行该函数
void button1_callback(const String & state) {
BLINKER_LOG("get button state: ", state);
digitalWrite(GPIO, !digitalRead(GPIO));
Blinker.vibrate();
}
//小爱电源类操作的回调函数:
//当小爱同学向设备发起控制, 设备端需要有对应控制处理函数
void miotPowerState(const String & state)
{
BLINKER_LOG("need set power state: ", state);
(state == BLINKER_CMD_OFF) {
digitalWrite(GPIO, LOW);
BlinkerMIOT.powerState("off");
BlinkerMIOT.print();
}
else if (state == BLINKER_CMD_ON) {
digitalWrite(GPIO, HIGH);
BlinkerMIOT.powerState("on");
BlinkerMIOT.print();
}
}
void setup() {
// 初始化串口,并开启调试信息,调试用可以删除
Serial.begin(115200);
BLINKER_DEBUG.stream(Serial);
// 初始化IO
pinMode(GPIO, OUTPUT);
digitalWrite(GPIO, HIGH);
// 初始化blinker
Blinker.begin(auth, ssid, pswd);
Button1.attach(button1_callback);
//小爱同学务必在回调函数中反馈该控制状态
BlinkerMIOT.attachPowerState(miotPowerState);//注册回调函数
}
void loop() {
Blinker.run();
}
void setup() {
// put your setup code here, to run once:
}
void loop() {
// put your main code here, to run repeatedly:


data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAqYAAAEYCAYAAACOUzQHAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAAAJcEhZcwAADsQAAA7EAZUrDhsAACz2SURBVHhe7d0LtFxXedjxb0b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wAAAD0Rj05cZ+MmraSVBJTAAAAVMuPmCZfE5XcAJUkpwAAAECVNDEN3116Smq1kJSSmAIAAKBarZufmkFiCgAAgKqJ/H8NenRhrUHxzQAAAABJRU5ErkJggg==


请大神帮忙看看是哪里问题,谢谢


Creeper666 发表于 2020-2-26 13:09

图片打不开,不了解详细情况

liu854208255 发表于 2020-3-11 23:07

void setup() {
// put your setup code here, to run once:
}
void loop() {
// put your main code here, to run repeatedly:
把最后这个删掉

(state == BLINKER_CMD_OFF) 小爱控制这句前面要加if
页: [1]
查看完整版本: 论坛上学习小爱控制ESP8266烧写故障请大神解答