From 665117a41d388cd3a48360b4fe498bef5c09c350 Mon Sep 17 00:00:00 2001 From: Orhan-Timo Altan <timo.altan@th-koeln.de> Date: Wed, 24 Aug 2022 09:14:20 +0200 Subject: [PATCH] . --- bits_motor_driver_tb6612fng.h | 12 +++--------- 1 file changed, 3 insertions(+), 9 deletions(-) diff --git a/bits_motor_driver_tb6612fng.h b/bits_motor_driver_tb6612fng.h index ec69317..7963f7a 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 -- GitLab