Dear All
I have error with ubidots-esp8266-master
C:\arduino-1.8.5\libraries\ubidots-esp8266-master\src\UbiBuilder.cpp:43:30: error: ‘i’ was not declared in this scope
** UbiProtocol* ubiBuilder = (i->second)();**
Pl. Help me! Thank
Dear All
I have error with ubidots-esp8266-master
C:\arduino-1.8.5\libraries\ubidots-esp8266-master\src\UbiBuilder.cpp:43:30: error: ‘i’ was not declared in this scope
** UbiProtocol* ubiBuilder = (i->second)();**
Pl. Help me! Thank
Hello @Thuongnc,
Make sure the protocol (HTTP, TCP/UDP) is well defined in the constructor. If you follow this example your code should compile without any problem.
Greetings,
Maria H.
Greetings, may you share the library version that you are using and the example code that you are trying to compile? The log of the error is related with an undefined variable but I have just checked the builder file and the variable is properly defined.
I will be attentive
Dear Joatalthbest
Library ubidots-esp8266-master (12/26/2019)
and error when upload by Arduino IDE
Thank
I have tried the Get HTTP example and could compile it without issues
please gently try with the attached example and zip library.
ubidots-esp8266-master.zip (45.3 KB) GetValueHttp.ino (1.6 KB)
All the best