Brushless motor and code

Set the button pin pinMode to INPUT_PULLUP.