SparkFun Forums 

Where electronics enthusiasts find answers.

Hi there~
I am following the example and have setup TTN and have all the developer credentials generated, but when I copy my DEVADDR into the example I get an error.

The line in the example code:
Code: Select all
// LoRaWAN end-device address (DevAddr)
static const u4_t DEVADDR = { 0x26, 0x02, 0x1B, 0xE0 };
I get an error:
"scalar object 'DEVADDR' requires one element in initializer"

Any ideas?