Blink1
/*
Blink:
Blink the built-in LED on the arduino.
*/
//these are comments
//and grey text after the “//” will not be read by the arduino
// put your setup code here, to run once:
void setup() {
//the built-in LED will be used for output (opposed to input)
pinMode(LED_BUILTIN, OUTPUT);
}
// put your main code here, to run repeatedly:
void loop() {
//turn on (high) LED
digitalWrite(LED_BUILTIN, HIGH);
//wait 1000ms (1 second)
delay(1000);
//turn off (low) LED
digitalWrite(LED_BUILTIN, LOW);
//wait 500ms (0.5 seconds)
delay(500);
}