'SigFox' was not declared in this scope

I'm using the Arduino MKRFox 1200 card.

I tried to push the basic sketch to know if the SigFox module is present, but I've got this error :

'SigFox' was not declared in this scope

It seems I need to declare something (SigFox) before.

Here is the code I use :

void setup() {
  Serial.begin(9600); 

  while(!Serial) {};

  if (!SigFox.begin()) {
    Serial.println("Shield error or not present!");
    return;
  }
}

I just follow the tutorial here : https://www.arduino.cc/en/Tutorial/SigFoxFirstConfiguration

Any idea ?

pixelgamma:
I just follow the tutorial here : https://www.arduino.cc/en/Tutorial/SigFoxFirstConfiguration

Any idea ?

Look at the complete code at the bottom of the tutorial page you provided a reference to. In particular, the #include

(deleted)

Ok thank you, the example code is really crappy…

Here is the good one :

#include <SigFox.h>
#include <ArduinoLowPower.h>

void setup() {
  Serial.begin(9600); 

  while(!Serial) {};

  if (!SigFox.begin()) {
    Serial.println("Shield error or not present!");
    return;
  }
  
}

void loop()
{
  return;
}

If that's the good one I hate to think what the bad one did.