i m trying to make a wifi enabled relayswitch with help of iotcloud, following this tutorial :
iot-playground.com/blog/2-uncategorised/..._cloud_configuration
the problem that i m facing is :
while pasting the arduino code in my arduino ide and compling it, it is giving me multiple errors, even though i have successfully downloaded and added the library required for esp8266, mqqt and eeprom
link from where i have downloaded the mqtt library :
github.com/iot-playground/EasyIoT-Cloud/...r/libraries/esp-mqtt
the errors are :
sketch_feb15b:64: error: 'loadConfig' was not declared in this scope
loadConfig();
^
sketch_feb15b:95: error: 'macToStr' was not declared in this scope
clientName += macToStr(mac);
^
sketch_feb15b:105: error: 'myConnectedCb' was not declared in this scope
myMqtt.onConnected(myConnectedCb);
^
sketch_feb15b:106: error: 'myDisconnectedCb' was not declared in this scope
myMqtt.onDisconnected(myDisconnectedCb);
^
sketch_feb15b:107: error: 'myPublishedCb' was not declared in this scope
myMqtt.onPublished(myPublishedCb);
^
sketch_feb15b:108: error: 'myDataCb' was not declared in this scope
myMqtt.onData(myDataCb);
^
sketch_feb15b:120: error: 'waitOk' was not declared in this scope
waitOk();
^
sketch_feb15b:154: error: 'saveConfig' was not declared in this scope
saveConfig();
^
C:\Users\Manan Mehta\Documents\Arduino\sketch_feb15b\sketch_feb15b.ino: In function 'void loop()':
sketch_feb15b:211: error: 'saveConfig' was not declared in this scope
saveConfig();
^
exit status 1
'loadConfig' was not declared in this scope
Please help me to solve it