Skip to content

Instantly share code, notes, and snippets.

@RobolinkTeknoloji
Created December 23, 2020 09:25
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save RobolinkTeknoloji/2dcd430c2228d95ec520d3b325eb12eb to your computer and use it in GitHub Desktop.
Save RobolinkTeknoloji/2dcd430c2228d95ec520d3b325eb12eb to your computer and use it in GitHub Desktop.
Yuruyen-led-arduino
int ledPinleri[] = {2,3,4,5,6,7};
void setup() {
for(int i=0;i<6;i++){
pinMode(ledPinleri [i],OUTPUT);
}
}
void loop() {
for(int i=0;i<6;i++){
digitalWrite(ledPinleri [i],HIGH);
delay(150);
digitalWrite(ledPinleri [i],LOW);
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment