I did expect to see a description of what that current code does and where it fails. Does it move the motor at all?
Why do you check for the button state only every 500ms?
I did expect to see a description of what that current code does and where it fails. Does it move the motor at all?
Why do you check for the button state only every 500ms?