I'm going to keep it very short and straight to the point. I'm having trouble on how to write a line of code. This is what I want done when a set of commands are completed and than execute a line of code unless re checking the commands. In other words "do this.... when all this happens....or repeat"
Start reading the reference : - Arduino - Home and the tutorials - tutorials: http://arduino.cc/en/Tutorial/HomePage
Time spent there may not be the greatest fun, but is well spent as you learn how an Arduino can be programmed.
Edison,
Thank you for all your references. I will sure to look into that. Thank you for the structure of the code, it's exactly what I was looking for.