Problem with serial connect to NB-IoT shield from Arduino M0 (SOLVED)

Hello,

I’m still in the process of getting a Hello World working.
Whatever I do the shield won’t connect.

Can one of you help me with input about the serial ports used and if possible an example “terminal server” sketch for M0 board connected to shield so I manually use AT commands with direct feedback on results.
I tried to build such a sketch myself from older ones for Uno and Mega where I used SerialUSB (?) and Serial1 (?) but that doesn’t work and I get compilation errors.

Best regards,

Peter

I found an AT sketch at http://support.sodaq.com/sodaq-one/at/

Removed the #elif statements and board options with only these the lines left:

#define SerialOut SerialUSB
#define UBLOX Serial1

Now it works with the Robotdyn Arduino M0 board.

Best regards,

Peter

1 Like