us to help you... can we see what you're doing
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
us to help you... can we see what you're doing
I'd give my left arm to be ambidextrous
Nigel's tutorials in asm... http://www.winpicprog.co.uk/
Nigel's tutorials.. re-written in C. http://www.electro-tech-online.com/c...torials-c.html
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 by tytower; 22nd December 2011 at 08:08 AM.
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
Our differences are only skin deep, but our sames go down to the bone.
| Tags |
| Similar Threads | ||||
| Thread | Starter | Forum | Replies | Last Post |
| Need help with Arduino Code | vetenskapsman | Homework Help | 1 | 19th March 2011, 12:52 AM |
| Help needed: Arduino Uno LED cube driver circuit | drabaecus | General Electronics Chat | 3 | 17th January 2011, 05:54 AM |
| Help, can't upload pgm into Arduino board, which uses Atmega168. | pwotoole | Arduino | 9 | 23rd October 2010, 09:53 PM |
| pic and the arduino motor shield HELP!!! | duct996 | Microcontrollers | 0 | 16th February 2009, 03:04 AM |
| I need help! | Gennady | General Electronics Chat | 9 | 2nd October 2002, 05:20 PM |