12345678910111213141516171819 |
- #ifndef FR_DCMotor_h
- #define FR_DCMotor_h
-
- #include "Arduino.h"
-
- class FR_DCMotor
- {
- public:
- FR_DCMotor(byte pinF,byte pinR);
- void rotate(char dir, byte speed);
- void rotate(char dir);
-
- private:
- byte _pinF;
- byte _pinR;
- void init();
- };
-
- #endif
|