int timer = 50;
int ledPin = 3;
int i = 0;
void setup() {
Serial.begin(9600);
pinMode(ledPin, OUTPUT);
}
void loop() {
for (int i = 0; i <>
digitalWrite(ledPin, HIGH);
delay(i);
digitalWrite(ledPin, LOW);
delay(i);
Serial.println(i);
}
}
No comments:
Post a Comment