arduibo

C++ code posted by xxx
created at 05 Mar 15:30, updated at 08 Mar 18:54

Edit | Back
1
2
3
4
5
6
7
8
9
10
11
12
int led = 13; // Pin 13 has an LED connected on most Arduino boards
// the setup routine runs once when you press reset:
void setup() {
   pinMode(led, OUTPUT); // initialize the digital pin as an output
}
// the loop routine runs over and over again forever:
void loop() {
  digitalWrite(led, HIGH);
  delay(1000);
  digitalWrite(led, LOW);
  delay(1000);
}
369 Bytes in 2 ms with coderay