- Posts: 3
- Thank you received: 0
J:\arduino-nightly\libraries\ESP8266_relay_switch_MQTT\ESP8266_relay_switch_MQTT.ino: In function 'void setup()':
ESP8266_relay_switch_MQTT:64: error: 'loadConfig' was not declared in this scope
loadConfig();
^
ESP8266_relay_switch_MQTT:95: error: 'macToStr' was not declared in this scope
clientName += macToStr(mac);
^
ESP8266_relay_switch_MQTT:105: error: 'myConnectedCb' was not declared in this scope
myMqtt.onConnected(myConnectedCb);
^
ESP8266_relay_switch_MQTT:106: error: 'myDisconnectedCb' was not declared in this scope
myMqtt.onDisconnected(myDisconnectedCb);
^
ESP8266_relay_switch_MQTT:107: error: 'myPublishedCb' was not declared in this scope
myMqtt.onPublished(myPublishedCb);
^
ESP8266_relay_switch_MQTT:108: error: 'myDataCb' was not declared in this scope
myMqtt.onData(myDataCb);
^
ESP8266_relay_switch_MQTT:120: error: 'waitOk' was not declared in this scope
waitOk();
^
ESP8266_relay_switch_MQTT:154: error: 'saveConfig' was not declared in this scope
saveConfig();
^
J:\arduino-nightly\libraries\ESP8266_relay_switch_MQTT\ESP8266_relay_switch_MQTT.ino: In function 'void loop()':
ESP8266_relay_switch_MQTT:211: error: 'saveConfig' was not declared in this scope
saveConfig();
^
exit status 1
'loadConfig' was not declared in this scope
Please Log in or Create an account to join the conversation.
nimaaryamehr wrote: I added all libraries but have this error when Compile
J:\arduino-nightly\libraries\ESP8266_relay_switch_MQTT\ESP8266_relay_switch_MQTT.ino: In function 'void setup()': ESP8266_relay_switch_MQTT:64: error: 'loadConfig' was not declared in this scope loadConfig(); ^ ESP8266_relay_switch_MQTT:95: error: 'macToStr' was not declared in this scope clientName += macToStr(mac); ^ ESP8266_relay_switch_MQTT:105: error: 'myConnectedCb' was not declared in this scope myMqtt.onConnected(myConnectedCb); ^ ESP8266_relay_switch_MQTT:106: error: 'myDisconnectedCb' was not declared in this scope myMqtt.onDisconnected(myDisconnectedCb); ^ ESP8266_relay_switch_MQTT:107: error: 'myPublishedCb' was not declared in this scope myMqtt.onPublished(myPublishedCb); ^ ESP8266_relay_switch_MQTT:108: error: 'myDataCb' was not declared in this scope myMqtt.onData(myDataCb); ^ ESP8266_relay_switch_MQTT:120: error: 'waitOk' was not declared in this scope waitOk(); ^ ESP8266_relay_switch_MQTT:154: error: 'saveConfig' was not declared in this scope saveConfig(); ^ J:\arduino-nightly\libraries\ESP8266_relay_switch_MQTT\ESP8266_relay_switch_MQTT.ino: In function 'void loop()': ESP8266_relay_switch_MQTT:211: error: 'saveConfig' was not declared in this scope saveConfig(); ^ exit status 1 'loadConfig' was not declared in this scope
Please Log in or Create an account to join the conversation.
Please Log in or Create an account to join the conversation.
Please Log in or Create an account to join the conversation.
nimaaryamehr wrote: no
I am exactly from the original program
also i test program: wifi-pir-motion-sensor-easyiot-cloud-rest-api
Compiled well and Works well..
Only relay switch have problem...
Please Log in or Create an account to join the conversation.
Please Log in or Create an account to join the conversation.