Using the following code the text gets printed every second in the Serial Monitor as expected.
#include <MKRWAN.h>
LoRaModem modem;
void setup() {
Serial.begin(9600);
}
void loop() {
Serial.println("Your device EUI is: ");
//Serial.println(modem.deviceEUI());
delay(1000);
}
However, when I uncomment Serial.println(modem.deviceEUI()); nothing gets printed in the Serial Monitor. Does anyone know what I'm doing wrong or what the problem could be?
Update: solved by uploading the MKRWANFWUpdate_standalone sketch