#include <WiFiNINA.h>

void setup() {
  Serial1.begin(115200);
  Serial1.println("Hello, Arduino Nano RP2040 Connect!");
  pinMode(LED_BUILTIN, OUTPUT);
  pinMode(LEDR, OUTPUT);
  pinMode(LEDG, OUTPUT);
  pinMode(LEDB, OUTPUT);
}

void loop() {
  digitalWrite(LED_BUILTIN, !digitalRead(LED_BUILTIN));
  digitalWrite(LEDR, HIGH);
  delay(250);
  digitalWrite(LEDR, LOW);
  digitalWrite(LEDG, HIGH);
  delay(250);
  digitalWrite(LEDG, LOW);
  digitalWrite(LEDB, HIGH);
  delay(250);
  digitalWrite(LEDB, LOW);
}