LED Fun!!! Arduino Knight Rider LED Circuit Sequential Control using For Loop - Arduino tutorial # 3

Поділитися
Вставка
  • Опубліковано 17 бер 2017
  • Arduino Robotic Online Individual Classes (via skype) with Practical Explanations, Contact me on: nik261190@gmail.com
    Sequential Control of LEDs... Fun with LEDs blinking in series in different time delays, and different orders in real time environment. A knight Rider circuit of 5 LEDs are driven by Arduino using for loop iteration. The code looks short & sweet since the for looping is performed in it. The LEDs are illuminated in different time delays, and different directions as well (Left to Right & Right to Left) using various coding techniques. Specially the looping... It works like magic. Enjoy the video with detailed explanations and demonstration. And find the codings I used (2 different codings) in FIRST TWO COMMENTS of the video. Please comment your suggestions. :D

КОМЕНТАРІ • 2

  • @NovaTechnologies
    @NovaTechnologies  7 років тому

    // Second Code://
    void setup() {
    // put your setup code here, to run once:
    for(int x=1; x=1;y--)
    {
    digitalWrite(y,HIGH);
    delay(100);
    digitalWrite(y,LOW);
    }
    }

  • @NovaTechnologies
    @NovaTechnologies  7 років тому

    // First Code://
    void setup() {
    // put your setup code here, to run once:
    for(int x=1; x