sparkfun wireless joystick - serial print and analog read not working

Hello

I have recently bought the [SparkFun Wireless Joystick Kit

I installed the Sparkfun SAMD board and the Arduino IDE recognizing it (as seen in the picture)

https://i.ibb.co/c2p0Jgz/Screenshot-202 … 230415.png

I’m trying to upload a very simple sketch for reading the joystick values and printing them in the Serial Monitor but I get nothing.

It seems like the code was uploaded but nothing happens.

(I try to upload the blink sketch and it did work)

#define joystick_right_up_pin A0

int joy_right_ud=0;

void setup() {
  Serial1.begin(115200);
  delay(10);
  Serial1.println("setup");
}

void loop() {
  joy_right_ud = analogRead(joystick_right_up_pin);
  Serial1.println(joystick_right_up_pin);
  Serial1.println("test");
  delay(50);
}

](SparkFun Wireless Joystick Kit - KIT-14051 - SparkFun Electronics)

You’re printing to the XBee socket, not the serial monitor.

Try SerialUSB rather than Serial1.