NB-IOT Shield + Genuino Zero

I am trying to use the Genuino zero board with the NB-IoT shield.
This board is not declared in Sodaq_nbIOT’s examples, so I am getting:
“Please use one of the listed boards or add your board.”
My question is does SODAQ supports Genuino Zero with Sodaq NB-IoT Shield? And if it does, what do I have to change when declaring the board and defining the Serial ports?

Hi,

The Genuino zero board with the NB-IoT shield work without any issues.
Add the code below to your code to let it compile.

#elif defined(ARDUINO_SAMD_ZERO)
/* Arduino Zero + SODAQ NB-IoT Shield */
#define DEBUG_STREAM SerialUSB
#define MODEM_STREAM Serial1
#define powerPin 7 

Let me know if this works for you.

Kind regards,
Jan

1 Like

@Jan

Thank you, it worked