ThingerEthernet.h won't compile for Arduino Uno with ethernet shield

Following simple example coming from the documentation( won’t compile.

#include <SPI.h>
#include <Ethernet.h>
#include <ThingerEthernet.h>

ThingerEthernet thing("username", "deviceId", "deviceCredential");

void setup() {

void loop() {

Compile error:

custom/ error: expected declaration before ‘}’ token}

When I select another board is compiles with succes but for the Arduino uno is won’t.

i think this part of code is missing

#define USERNAME “your_username”
#define DEVICE_ID “your_device_id”
#define DEVICE_CREDENTIAL “your_device_credential”

No, that didn’t help. Still the same error.

Hello @Bari,

It is better to use the library example code at Arduino>Examples>>Arduino>ArduinoEthernet

It is recommendable to check the forum searching if there is not a thread with our particular issue, before starting a new one

Hope this helps

I did found that thread but the first 2 attempts trying their solution didn’t helped me. But after finding no other solutions I tried it again with succes!

Thanks for the help!