Hello, well I'm new with arduino and I have a little proble, I'm trying to make my program to run 2 differents instructions at the same time, but It only makes one instruction at a the time, so any idea how can I make it to run the instructions at the same time?
Thanks for the help, here is the code
You can't run two things at once.
Check out the blink without delay example, which should show you how to get rid of the delays and be able to run your two parts directly after each other (and so close you won't notice)
Doryel:
The problem is that I need the delay :S I need to activate a motor for a certain amount of time (like 1 to 3 secs)
You don't understand, there is a way to simulate a delay without it having it stop all other program flow in your sketch. The blink without delay sketch shows such a method.