Go Down

Topic: Thinger.io WiFi problem (Read 2972 times) previous topic - next topic

Juuzo123

Hello!

I'm trying to connect my Arduino Uno to Thinger.io by using their guide. So far i have installed the following libraries: thinger.io and WiFiNINA.

Here is my code:


Code: [Select]
#include <ThingerWiFiNINA.h>

#define USERNAME "juuso123"
#define DEVICE_ID "Arduino"
#define DEVICE_CREDENTIAL "testi123"

#define SSID "Saaren 2.4GHz"
#define SSID_PASSWORD "Arsu17"

ThingerWiFiNINA thing(USERNAME, DEVICE_ID, DEVICE_CREDENTIAL);
 
void setup() {
  // put your setup code here, to run once:
 
  thing.add_wifi(SSID, SSID_PASSWORD);

  //pinMode(LED_BUILTIN, OUTPUT);

  // 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)
  //thing["millis"] >> outputValue(millis());

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

}

void loop() {
  // put your main code here, to run repeatedly:
  thing.handle();
}



The error code that i'm getting is:

exit status 1
Error compiling for board Arduino Uno.

Juuzo123


Go Up