Posts

Showing posts from May, 2021

Arduino 9 Pattern LED Chaiser By T4TECHZ

Image
int t = 40; int rnd =5; int pat1t =75; void setup() {    for(int i=3; i<=12; i++)     pinMode(i,OUTPUT); } void loop(){    for(int i=0; i<=rnd; i++) {    pat1();}    for(int i=0; i<=rnd; i++){     pat2();}    for(int i=0; i<=rnd; i++) {    pat3();}    for(int i=0; i<=rnd; i++) {    pat4();}    for(int i=0; i<=rnd; i++){     pat5();}    for(int i=0; i<=rnd; i++) {    pat6();}    for(int i=0; i<=rnd; i++) {    pat7();}    for(int i=0; i<=rnd; i++) {    pat8();}    for(int i=0; i<=rnd; i++) {    pat9();}       }    void pat1(){      for(int i=3; i<=12; i++) {       digitalWrite(i,HIGH);       delay(pat1t);       digitalWrite(i,LOW);    ...

Arduino 32 Pattern LED Chaiser by T4TECHZ

Image
int led0 = 0; int led1 = 1; int led2 = 2; int led3 = 3; int led4 = 4; int led5 = 5; int led6 = 6; int led7 = 7; int led8 = 8; int led9 = 9; int led10 = 10; int led11= 11; int led12= 12; int led13= 13; void setup() {   pinMode(led0,OUTPUT);    pinMode(led1,OUTPUT);    pinMode(led2,OUTPUT);    pinMode(led3,OUTPUT);    pinMode(led4,OUTPUT);    pinMode(led5,OUTPUT);    pinMode(led6,OUTPUT);    pinMode(led7,OUTPUT);    pinMode(led8,OUTPUT);    pinMode(led9,OUTPUT);    pinMode(led10,OUTPUT);    pinMode(led11,OUTPUT);    pinMode(led12,OUTPUT);    pinMode(led13,OUTPUT); } void loop()  {      blink_1();   blink_1();      blink_2();   blink_2();      blink_3();   blink_3();      blink_4();   blink_4();     blink_5();   blink_5();   blink_6();   blink_6(); ...

Arduino LED Chaiser.. Code & Circuit Diagram by T4TECHZ

Image
int led1 = 1; int led2 = 2; int led3 = 3; int led4 = 4; int led5 = 5; int led6 = 6; int led7 = 7; int led8 = 8; int led9 = 9; int led10 = 10; void setup() { pinMode(led1, OUTPUT); pinMode(led2, OUTPUT); pinMode(led3, OUTPUT); pinMode(led4, OUTPUT); pinMode(led5, OUTPUT); pinMode(led6, OUTPUT); pinMode(led7, OUTPUT); pinMode(led8, OUTPUT); pinMode(led9, OUTPUT); pinMode(led10, OUTPUT); } void loop() { digitalWrite(led1 = 1, HIGH); delay(10); digitalWrite(led1 = 1, LOW); delay(70); digitalWrite(led2 = 2, HIGH); delay(10); digitalWrite(led2 = 2, LOW); delay(70); digitalWrite(led3 = 3, HIGH); delay(10); digitalWrite(led3 = 3, LOW); delay(70); digitalWrite(led4 = 4, HIGH); delay(10); digitalWrite(led4 = 4, LOW); delay(70); digitalWrite(led5 = 5, HIGH); delay(10); digitalWrite(led5 = 5, LOW); delay(70); digitalWrite(led6 = 6, HIGH); delay(10); digitalWrite(led6 = 6, LOW); delay(70); digitalWrite(led7 = 7, HIGH); delay(10); digitalWrite(led7 = 7, LOW); delay(70); digitalWrite(led8 = 8, HIGH);...

Arduino 5 Effect LED Chaiser Code & Circuit Diagram by T4TECHZ

Image
void setup() { pinMode(1,OUTPUT); pinMode(2,OUTPUT); pinMode(3,OUTPUT); pinMode(4,OUTPUT); pinMode(5,OUTPUT); pinMode(6,OUTPUT); pinMode(7,OUTPUT); pinMode(8,OUTPUT); pinMode(9,OUTPUT); } void loop() { int i; // 1st pattern repeat 1 times for(i=1; i<=10; i++) { digitalWrite(i,HIGH); delay(50); digitalWrite(i,LOW); delay(50); } for(i=10; i>=1; i--) { digitalWrite(i,HIGH); delay(50); digitalWrite(i,LOW); delay(50); } delay(1000); //2nd pattern repeat 1 times for(i=1; i<=10 ; i++) { digitalWrite(i,HIGH); delay(50); } for(i=1; i<=10 ; i++) { digitalWrite(i,LOW); delay(50); } for(i=10; i>=1 ; i--) { digitalWrite(i,HIGH); delay(50); } for(i=10; i>=1 ; i--) { digitalWrite(i,LOW); delay(50); } delay(1000); //3rd pattern repeat 1 times for(i=1; i<=10 ; i++) { digitalWrite(i,HIGH); delay(50); } for(i=11; i>=1 ; i--) { digitalWrite(i,LOW); delay(50); } for(i=10; i>=1 ; i--) { digitalWrite(i,HIGH); delay(50); } for(i=1; i<=10 ; i++) { digitalWrite(i,LOW); delay(50); }...