Continue to Site

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.

  • 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!

Status
Not open for further replies.

kiosk

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:
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
 
or use delayMicroseconds(*number*); for a teeny delay. :p
 
Status
Not open for further replies.

Latest threads

New Articles From Microcontroller Tips

Back
Top