• Welcome to our site! Electro Tech is an online community (with over 170,000 members) who enjoy talking about and building electronic circuits, projects and gadgets. To participate you need to register. Registration is free. Click here to register now.

arduino! help!


New Member
how can i put a delay before the microcontroller sends *data to the output(the input is a sensor)? *the data is interpreted by the microcontroller from the sensor


In case some one searches to here
In the programming loop put " delay(1000) ; " before the send instruction
1000 is 1000 ms or 1 second
Last edited:


Well-Known Member
Kind of hard to say Like Ian said it would help to see some code your using

But delays are easy just put this after the part you want to wait on.

delay(1000); // wait for a second


New Member
or use delayMicroseconds(*number*); for a teeny delay. :p

Latest threads

EE World Online Articles