[SOLVED] Some problems with the example UbidaotsSaveValueWithID


#1

Hi all!
I am new here, I just started my project using Arduino DUE and esp8266 to send the data to the Ubidots. When I used the example UbidaotsSaveValueWithID and tried to upload this example to the esp8266, then I got the problem :
Arduino:1.8.5 (Windows 10):“NodeMCU 1.0 (ESP-12E Module), 80 MHz, Serial, 115200, 4M (3M SPIFFS)”

C:\Users\yf19b\AppData\Local\Temp\arduino_modified_sketch_118346\UbidotsSaveValueWithID.ino: In function ‘void loop()’:

UbidotsSaveValueWithID:22: error: ‘class Ubidots’ has no member named ‘add’

 client.add(ID_1, value1);

        ^

UbidotsSaveValueWithID:24: error: ‘class Ubidots’ has no member named ‘sendAll’

 client.sendAll(true);

        ^

exit status 1
‘class Ubidots’ has no member named ‘add’

Could anyone solve this problem? thx!20180123022659


#2

Hi there, the error that you show us means that your library version does not have the method add() and sendAll(), please make sure that you have downloaded the last version of the library and that it is already added to your Arduino lib path.

Regards