#define BUTTON 12
#define LED 13
void setup() {
// put your setup code here, to run once:
pinMode(LED,OUTPUT);
pinMode(BUTTON,INPUT);
Serial.begin(115200); // Any baud rate should work
Serial.println("Hello Arduino\n");
}
void loop() {
// put your main code here, to run repeatedly:
digitalWrite(LED,HIGH);
Serial.println("LED ON");
delay(1000);
digitalWrite(LED,LOW);
Serial.println("LED OFF");
delay(1000);
if(digitalRead(BUTTON)==HIGH) Serial.println("PUSHED");
}