add trig/continious mode
add trig/continious mode