16 lines
500 B
C++
16 lines
500 B
C++
|
|
void setup() {
|
|
pinMode(13, OUTPUT);
|
|
pinMode(130, OUTPUT);
|
|
}
|
|
|
|
// the loop function runs over and over again forever
|
|
void loop() {
|
|
digitalWrite(13, HIGH); // turn the LED on (HIGH is the voltage level)
|
|
digitalWrite(10, HIGH); // turn the LED on (HIGH is the voltage level)
|
|
delay(100); // wait for a second
|
|
digitalWrite(13, LOW); // turn the LED off by making the voltage LOW
|
|
digitalWrite(10, LOW);
|
|
delay(900); // wait for a second
|
|
}
|