blob: de2934b751828bdbfbc1f4ba5c643a6d8884118e (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
|
int i=0;
void setup() {
pinMode(10, OUTPUT);
for(i=0;i<5;i++)
{
digitalWrite(10, HIGH); // turn the LED on (HIGH is the voltage level)
delay(1000); // wait for a second
digitalWrite(10, LOW); // turn the LED off by making the voltage LOW
delay(1000); // wait for a second
}
}
void loop() {
}
|