void setup() {
// put your setup code here, to run once:
Serial1.begin(115200);
Serial1.println("Hello, Raspberry Pi Pico!");
pinMode(13, INPUT_PULLUP);
pinMode(2, OUTPUT);
}
void loop() {
// put your main code here, to run repeatedly:
delay(1); // this speeds up the simulation
if(digitalRead(13) == HIGH)
digitalWrite(2,LOW);
else
digitalWrite(2,HIGH);
}
//sherwin please notice me