arduino cool light | arduino project | arduino tutorial | arduino led chaser | #arduino #electronic

preview_player
Показать описание
arduino project | arduino tutorial | arduino led chaser
how to make led chaser | how to make arduino project | how to make diwali light
how to make rakshabandhan light | arduino cool light | diwali light kese banaye | arduino se led chaser kese bnaye

Hi , This is Shorts.

For more arduino shorts go to my channel

how to make light
how to make cool lighting
how to make led chaser light
arduino led chaser
arduino led light project
arduino project

#arduino_project #electronics #arduino_code #how to make rakshabandhan light
#arduino tutorial #how to make led chaser #how to make diwali light
#led_chaser_with_arduino
#arduino_led_chaser #red_led_chaser
Рекомендации по теме
Комментарии
Автор

byte led[] = {2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13};
byte count = 0;
void setup() {
// put your setup code here, to run once:
for(byte i=0; i<=11; i++){
pinMode(led[i], OUTPUT);
}
}

void loop() {
// put your main code here, to run repeatedly:
count = 11;
for(byte i =0; i<=5; i++){
digitalWrite(led[i], HIGH);
digitalWrite(led[count], HIGH);
delay(50);
count--;
}

count = 11;
for(byte i =0; i<=5; i++){
digitalWrite(led[i], LOW);
digitalWrite(led[count], LOW);
delay(50);
count--;
}
count = 6;
for(byte i=6; i>0; i--){
digitalWrite(led[i-1], HIGH);
digitalWrite(led[count], HIGH);
delay(50);
count++;
}

count = 6;
for(byte i=6; i>0; i--){
digitalWrite(led[i-1], LOW);
digitalWrite(led[count], LOW);
delay(50);
count++;
}


}

learningcode
Автор

Hello, if I want to use a 12-volt SMD block instead of these LEDs, what part should I use (I don't want a relay)

ddr