MKRIoTCarrier begin() does not work

Hey I am new to Arduino and bought the MKR WIFI 1010 board with the MKRIoTCarrier.
I currently have a very basic error, everytime I use carrier.begin() my programm wont start even the Serial Monitor wont connect to the board. But as soon as I write a programm without the carrier.begin() it works just fine.

Example Programms:

This one works just fine:

#include <Arduino_MKRIoTCarrier.h>
MKRIoTCarrier carrier;
void setup(){
Serial.begin(9600);
}

void loop() {
  Serial.println("NICE");
 
}

This one does not, after the upload the board disconnects from my computer: (Note: The Board is connected with the Carrier)

#include <Arduino_MKRIoTCarrier.h>
MKRIoTCarrier carrier;
void setup(){
Serial.begin(9600);
if(!carrier.begin()){  //It will see any sensor failure
   Serial.println("Failure on init");
   
 }
}

void loop() {
  Serial.println("NICE");
 
}

Probably I miss something very obvious or I am doing something wrong.
If you need more information please ask.
Thank you :slight_smile:

Edit: I now tried it with the older version of the library, now it seems to work, but I think the display still does not work

Your topic was MOVED to its current forum category which is more appropriate than the original as it is not an Introductory Tutorial

1 Like

This topic was automatically closed 180 days after the last reply. New replies are no longer allowed.