定义成空调编译报错define BLINKER_ALIGENIE_AIRCONDITION
老师好!请教问题,望不吝赐教设置#define BLINKER_ALIGENIE_AIRCONDITION或者#define BLINKER_DUEROS_AIRCONDITION//小度空调,设置成灯就没有问题
请教语音查询温度该设置成什么,如果设置成传感器,还能控制开关了吗
报错:
f:\workspace\Arduino-blinker\0.3.9\yuxiu_Temp_controller_0.0.005\yuxiu_Temp_controller_0.0.005.ino: In function 'void miotQuery(int32_t)':
yuxiu_Temp_controller_0.0.005:200:13: error: 'BlinkerMIOT' was not declared in this scope; did you mean 'BlinkerMQTT'?
200 | BlinkerMIOT.powerState(oState ? "on" : "off");
| ^~~~~~~~~~~
| BlinkerMQTT
f:\workspace\Arduino-blinker\0.3.9\yuxiu_Temp_controller_0.0.005\yuxiu_Temp_controller_0.0.005.ino: In function 'void setup()':
yuxiu_Temp_controller_0.0.005:1314:5: error: 'BlinkerMIOT' was not declared in this scope; did you mean 'BlinkerMQTT'?
1314 | BlinkerMIOT.attachPowerState(miotPowerState); //小爱语音操作注册函数
| ^~~~~~~~~~~
| BlinkerMQTT
exit status 1
请测试例程
页:
[1]