int pausa=100;
void setup() {
// put your setup code here, to run once:
for (int i=0; i<10; i++)pinMode(i, OUTPUT);
pinMode (13,INPUT_PULLUP);
pinMode (12,INPUT_PULLUP);
randomSeed(analogRead(0));
}
void loop() {
if (digitalRead(13)) {
pausa+=100;
}
{for (int i=0; i<10; i++)
{
digitalWrite(i, HIGH);
delay(pausa);
}
}
// put your main code here, to run repeatedly:
}