text: #ifndef MOTOR_H
  #define MOTOR_H
  
  #include <Servo.h> 
  #include <Arduino.h>
  
  class Controller
  {
      public:
          enum driver {L298, BTS7960, ESC, BLDC};
          Controller(driver motor_driver, int pwm_pin, int motor_pinA, int motor_pinB, int motor_pinC);
          void spin(int pwm);
  
      private:
          Servo motor_;
          driver motor_driver_;
          int pwm_pin_;
          int motor_pinA_;
          int motor_pinB_;
          int motor_pinC_;
  };
   
  #endif
  