ESP8266 Webserver Project

Moderator: Sprite_tm

User avatar
By nimaaryamehr
#34770 i want to compile this code but i got the error..?!!!!
this cod:
Code: Select allhttps://github.com/iot-playground/EasyIoT-Cloud/blob/master/ESP8266_relay_switch_MQTT/ESP8266_relay_switch_MQTT.ino


ERROR:
Code: Select allrelay:64: error: 'loadConfig' was not declared in this scope

   loadConfig();

              ^

relay:95: error: 'macToStr' was not declared in this scope

   clientName += macToStr(mac);

                             ^

relay:105: error: 'myConnectedCb' was not declared in this scope

   myMqtt.onConnected(myConnectedCb);

                      ^

relay:106: error: 'myDisconnectedCb' was not declared in this scope

   myMqtt.onDisconnected(myDisconnectedCb);

                         ^

relay:107: error: 'myPublishedCb' was not declared in this scope

   myMqtt.onPublished(myPublishedCb);

                      ^

relay:108: error: 'myDataCb' was not declared in this scope

   myMqtt.onData(myDataCb);

                 ^

relay:120: error: 'waitOk' was not declared in this scope

   waitOk();

          ^

relay:154: error: 'saveConfig' was not declared in this scope

     saveConfig();

                ^

C:\Users\Elisum\Documents\Arduino\relay\relay.ino: In function 'void loop()':

relay:211: error: 'saveConfig' was not declared in this scope

     saveConfig();

                ^

exit status 1
'loadConfig' was not declared in this scope



Image

I'm sorry, my English is not good