How to program a motor for opening and closing a waffelmachine?

hi! please help me to program a motor. I need the motor to open and close with preesing the start button once… I tried programming with the codes milis() but somehow it doesnt work. Any help or advice would be great!

This topic was automatically closed 120 days after the last reply. New replies are no longer allowed.