void setup() {
// put your setup code here, to run once:
Serial.begin(115200);
pinMode(7,INPUT_PULLUP);
pinMode(3, OUTPUT);
}
void loop() {
// put your main code here, to run repeatedly:
if (digitalRead(7)) {
Serial.println("Tralalero Tralala");
digitalWrite(3, LOW);
} else {
Serial.println("Hiiiii");
digitalWrite(3, HIGH);
}
}