int period = 500;
int period1 = 600;
long timer = 0;
long timer1 = 0;
boolean statLED=LOW;
void setup() {
// put your setup code here, to run once:
pinMode(11, INPUT);
}
void loop() {
// put your main code here, to run repeatedly:
statLED=LOW;
digitalWrite(11, statLED);
long now = millis();
if (now - timer >= period)
{
timer=now;
statLED=HIGH;
}
digitalWrite(11,statLED);
}