//Pi Pico LED Blink Test in Arduino Sketch
const int led = 2;
void setup() {
//put your setup code here to run once:
Serial1.begin(115200);
Serial1.println("Hello, World");
pinMode(led, OUTPUT);
}
void loop(){
//put your main code here to run repeatedly:
digitalWrite(led, HIGH);
Serial1.println("Light is ON");
delay(1000);
digitalWrite(led, LOW);
Serial1.println("Light is OFF");
delay(1000);
}