diff --git a/bits_motor_driver_tb6612fng.h b/bits_motor_driver_tb6612fng.h index ec69317ceb8e1ba94e2ffa80b72048168b81d8f8..7963f7a5cb584bb3bc34d2ab6a7949ac596ad52d 100644 --- a/bits_motor_driver_tb6612fng.h +++ b/bits_motor_driver_tb6612fng.h @@ -16,17 +16,11 @@ class bits_MotorDriverTB6612FNG : public thk_MotorDriverTB6612FNG { public: + // thk_MotorDriverTB6612FNG(motor_count, pin_stby, pin_pwm_a, pin_in_1, pin_in_2, pin_pwm_b, pin_in_3, pin_in_4); bits_MotorDriverTB6612FNG() : thk_MotorDriverTB6612FNG(1, 38, 6, 40, 42, 0, 0, 0){}; private: - uint8_t motor_count = 1; - uint8_t pin_stby = 38; - uint8_t pin_pwm_a = 6; - uint8_t pin_in_1 = 40; - uint8_t pin_in_2 = 42; - uint8_t pin_pwm_b = 0; - uint8_t pin_in_3 = 0; - uint8_t pin_in_4 = 0; + }; -#endif \ No newline at end of file +#endif