VUMeter me;
int pins[]={2,3,4,5,7};
int pinCount=5;
void setup(){
me.config(pinCount,pins);
me.begin();
void loop(){
me.on(0);
delay(1000);
me.on(1);
delay(1000);
me.on(2);
delay(1000);
me.on(3);
delay(1000);
me.on(4);
me.blinkAll(100,10);
delay(1000);
me.on(0);
delay(800);
me.blink(0,200,3);
delay(1000);
me.scrollRight(700,1);
delay(1000);
me.on(4);
delay(800);
me.blink(4,200,3);
delay(1000);
me.scrollLeft(700,1);
delay(800);
me.blink(1,800,1);
delay(200);
me.blink(3,800,1);
delay(200);
me.blink(2,800,1);
delay(200);
me.blink(0,800,1);
delay(200);
me.blink(4,800,1);
delay(200);
me.blinkAll(200,6);
delay(1000);
}
Comentarios
Publicar un comentario