Hello,
I need to use Arduino output simultaneously, for example, if I use a button to rotate servo 180 degree and turn back, but it doesn't work if I push the button second time to do the same thing before servo came to the same position, I mean I want Arduino read when ever I push the button, even if it do another thing.
please tell me if you do not understand my issue, I know my English not very well(I use dictionary some time :P).
Regards,
Jey.
I mean I want Arduino read when ever I push the button, even if it do another thing.
Then do NOT use delay() ANYWHERE in your code.
Look at the blink without delay example. Moving a servo one degree is no different from turning an LED on or off.