Seeeduino Cloud works with Thinger.io?

Arduino, Seeeduino Serials and mutants. Share your problems and experence on arduino compatible board such as seeeduino/stalker, etc.

Moderators: violet, jessie

Post Reply
ivanlomy
Pre-kindergarten
Pre-kindergarten
Posts: 4
Joined: Wed Mar 28, 2018 6:46 pm

Seeeduino Cloud works with Thinger.io?

Post by ivanlomy » Fri Apr 13, 2018 9:34 pm

I am newbie, I try to run an thinger.io example code with my Seeeduino Cloud, but no luck.
I did setup an account at thinger.io and added device id and its credential. Also I checked the seeeduino cloud is able to access internet (run httpclicent example b4)

Is the seeeduino support thinger.io sdk? I did anything wrong here?
I am pretty sure that my thinger.io setting is correct, as I am able to run the same code on my linkitone and work perfectly.


thankyou all here.
Ivan

code:

#include <BridgeSSLClient.h>
#include <ThingerYun.h>

#define USERNAME "myusername"
#define DEVICE_ID "mydeviceid"
#define DEVICE_CREDENTIAL "mydevice_credential"

ThingerYun thing(myusername, mydeviceid, mydevice_credential);

void setup() {
pinMode(LED_BUILTIN, OUTPUT);

// initialize bridge
Bridge.begin();
// pin control example (i.e. turning on/off a light, a relay, etc)
thing["led"] << digitalPin(LED_BUILTIN);

// resource output example (i.e. reading a sensor value, a variable, etc)

// more details at http://docs.thinger.io/arduino/
}

void loop() {
thing.handle();
}

Post Reply