Need help with Arduino Code

Discussion in 'Programmer's Corner' started by vetenskapsman, Mar 18, 2011.

  1. vetenskapsman

    Thread Starter New Member

    Mar 18, 2011
    1
    0
    Hi!

    We are stuck in our science project and we are in desperate need of your help! We need to be able to sequentially control eight LEDs using an Arduino Uno. The problem is we have no idea of how to write a suitable code. The LEDs are to be activated in intervals with specific time for on/off for each one. In the first sequence the LEDs must have a special timing unlike the following which will have the same. We have read about delay, loop and interrupt but are unsure of how to use them to fit our purpose.

    Best regards
     
  2. mcgyvr

    AAC Fanatic!

    Oct 15, 2009
    4,769
    969
    http://arduino.cc/forum/ is a much better place to post this question. You will need to provide the exact specifics on the timing.
     
  3. guitarguy12387

    Active Member

    Apr 10, 2008
    359
    12
    Thats pretty much a standard beginner tutorial. There are tutorials out there with code even.

    If you post your code and ask specific questions, we can help.
     
  4. hgmjr

    Moderator

    Jan 28, 2005
    9,030
    214
    The Arduino forum will no doubt be a good place to get assistance. However, I would enjoy taking a stab at assisting you with your Arduino code problem here. There are a number of Arduino knowledgeable members here at AAC that could possibly assist you.

    Since this is a class assignment you will get assistance but no one is going to hand you a solution. The idea is make sure that you derive some benefit from the troubleshooting experience here at AAC.

    hgmjr
     
Loading...