Need help with Arduino Code

Thread Starter

vetenskapsman

Joined Mar 18, 2011
1
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
 
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.
 

hgmjr

Joined Jan 28, 2005
9,027
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
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
 
Top