Hackster is hosting Impact Spotlights: AI. Watch the stream live on Thursday!Hackster is hosting Impact Spotlights: AI. Stream on Thursday!
kwonminjae허재혁정세환Juhyun Kim
Created June 26, 2017 © CC BY-ND

시공의 폭풍

빨려 드러가버렷..!

BeginnerFull instructions provided1 hour89
시공의 폭풍

Things used in this project

Story

Read more

Code

쉽고 간단한 코드

Arduino
아주 간단합니다
int pins[] = { 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11};
int a;
int len = 10;
int delay0 = 50;

void setup() {
  for(a = 0; a < len; a++)
  {
    pinMode(pins[a], OUTPUT);
  }
}

void loop() {
  for(a = 0; a < len; a++)
  {
    digitalWrite(pins[a], HIGH);
    delay(delay0);
    digitalWrite(pins[a], LOW);
  }


  delay0 = delay0 - 1;
  
  if(delay0 < 1)
  {
    delay0 = 50;
  }
}

Credits

kwonminjae
1 project • 0 followers
Contact
허재혁
1 project • 0 followers
Contact
정세환
1 project • 1 follower
Contact
Juhyun Kim
26 projects • 12 followers
Contact

Comments

Please log in or sign up to comment.