diff --git a/ino/contact_printer/EncoderMotor.h b/ino/contact_printer/EncoderMotor.h new file mode 100644 index 0000000..8b77c11 --- /dev/null +++ b/ino/contact_printer/EncoderMotor.h @@ -0,0 +1,21 @@ +#ifndef ENCODER_MOTOR +#define ENCODER_MOTOR + +#include + +class EncoderMotor { + + private: + uint8_t enable_pin; + uint8_t forward_pin; + uint8_t backward_pin; + uint8_t pwm_duty_speed = 255; + uint32_t pwm_frequency = 30000; + + public: + + EncoderMotor(); + +}; + +#endif \ No newline at end of file