/*
Connect the circuit.
1. Connect Slider switch sw1:2 terminal with to pin 13 of Arduino
2. Connect Slider switch sw1:1 terminal with LED led1:A terminal
3. Connect LED led1:C terminal with the GND Pin of Arduino
Change the color of connection from diagram.json file Make GND connection color black ,
connection from arduion to slide switch should be red and connection between slide and LED should
be green.*/
void setup() {
// put your setup code here, to run once:
pinMode(13, OUTPUT);
}
void loop() {
// put your main code here, to run repeatedly:
digitalWrite(13, HIGH);
// Wait for 1000 millisecond(s)
delay(1000);
//Add code to set pin 13 to LOW using digitalWrite() function
digitalWrite(13, LOW);
// Wait for 1000 millisecond(s)
delay(1000);
}