Electronic Circuits and Projects Forum



arduino! help!

  1. #1
    kiosk kiosk is offline

    arduino! help!

    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

  2. #2
    Ian Rogers Ian Rogers is offline
    Super Moderator

    kiosk!! Help

    us to help you... can we see what you're doing
    0
    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

  3. #3
    tytower tytower is offline
    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
    +1
    Last edited by tytower; 22nd December 2011 at 08:08 AM.

  4. #4
    be80be be80be is online now
    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
    0
    Burt
    be80be
    “No beard, no belly, no guru…”

  5. #5
    magnatro magnatro is offline
    or use delayMicroseconds(*number*); for a teeny delay. :P
    0
    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
Electronic Circuits  |  Learning Electronics

Join our community with over 100,000 Members! It's free, easy and when you're logged in you have many more features! Click to register.
Page Time: 0.06436 seconds      Memory: 7,343 KB      Queries: 17      Templates: 0