HINDOLROY
Published © GPL3+

Circular led display

Six leds placed back to back on a circular cardboard piecechasing each other.

IntermediateShowcase (no instructions)251
Circular led display

Things used in this project

Hardware components

Arduino UNO & Genuino UNO
Arduino UNO & Genuino UNO
×1
LED (generic)
LED (generic)
×6
Breadboard (generic)
Breadboard (generic)
×1
Battery, 9 V
Battery, 9 V
×1
Snap-on Connector, For 1 9-V Battery
Snap-on Connector, For 1 9-V Battery
×1
Jumper wires (generic)
Jumper wires (generic)
×1

Software apps and online services

Arduino IDE
Arduino IDE

Hand tools and fabrication machines

CARDBOARD
PAPERCUTTER

Story

Read more

Schematics

CIRCUIT OF CIRCULAR DISPLAY

Code

CODE OF CIRCULAR DISPLAY

C/C++
int timer = 200;
void setup()
{
  for(int thisPin = 2;thisPin < 6;thisPin ++){
    pinMode(thisPin,OUTPUT);
  }
}
void loop(){
  for (int thisPin = 2;thisPin < 6;thisPin ++){
    digitalWrite(thisPin,HIGH);
    delay(timer);
    digitalWrite(thisPin,LOW);
  }
  //for (int thisPin = 7;thisPin >= 2;thisPin ++){
  //  digitalWrite(thisPin,HIGH);
   // delay(timer);
 //   digitalWrite(thisPin,LOW);
//  }
}

Credits

HINDOLROY

HINDOLROY

3 projects • 0 followers

Comments