please change this in to millis() (means without delay 1s on time and 0.1s off )


void setup() {
// initialize digital pin 13 output.
pinmode(13, output);
}

// loop function runs on , on again forever
void loop() {
digitalwrite(13, high);   // turn led on (high voltage level)
delay(1000);              // wait second
digitalwrite(13, low);    // turn led off making voltage low
delay(100);              // wait second
}

this = millis();

 :)

or if not mean, @ blinkwithoutdelay in example folder.


Arduino Forum > Using Arduino > Programming Questions > please change this in to millis() (means without delay 1s on time and 0.1s off )


arduino

Comments

Popular posts from this blog

Error: ‘for’ loop initial declarations are only allowed in C99 or C11 mode - Raspberry Pi Forums

class MPU6050 has no member named begin

missing filename after '-o'