#ifndef _MOTOR_H #define _MOTOR_H #include "Arduino.h" class Motors { public: Motors(uint8_t motor1_pin, uint8_t motor2_pin, uint8_t motor3_pin, uint8_t motor4_pin); void initialize(void); void write_motor(uint8_t id, uint16_t val); private: uint8_t _motor1_pin, _motor2_pin, _motor3_pin, _motor4_pin; }; #endif