I trust but can´t blink it grrrrrr
const int ledPin = 13;
// Variables will change:
long previousMillis = 0;
long interval = 1000;
void setup() {
// set the digital pin as output:
pinMode(ledPin, OUTPUT);
}
void loop()
{
// commands for continuous blush
unsigned long currentMillis = millis();
if(currentMillis - previousMillis > interval) {
previousMillis = currentMillis; // save the last time you blinked the LED
if (analogRead (ledPin) == 0)
analogWrite(ledPin, 255);
else
analogWrite(ledPin, 0);
}
analogWrite(ledPin, 0);
}
What i´m missing :! ? tks for your help