Hi I am very new to Arduino, so please excuse the simplicity of my question.
I try to do this:
Read 1st. Proximity sensor signal, then trigger/start my code execution, once get 2nd. Proximity sensor signal, then stop my code execution, and do something else, such as rotate stepper motor 500 rev.
Could somebody give me similar example to achieve this?
Thanks very much in advance.