Add variable to device existed in ubidots


Hi ,
I have read the artical of Maria in ((, the statment “client.add(VARIABLE_LABEL_1, value_1);” add variable to new device named arduino ethernet.
How can I modify the code to send variables to device already exist in my account? for examole , send to “plc”.


Hi there, from the library docs you should use the method setDeviceLabel()

All the best