probier doch mal folgendes (pseudocode):

Code:
do
if start=0 then
    motor=1
    waitms 200
end if

if motor = 1 and taster=0 then
 stop motor
end if
loop