MakeBlock Drive Updated
Updated library for MakeBlock Ranger
Loading...
Searching...
No Matches
MeMbotDCMotor.h
Go to the documentation of this file.
1
38#ifndef MeMbotDCMotor_H
39#define MeMbotDCMotor_H
40
41#include <stdint.h>
42#include <stdbool.h>
43#include <Arduino.h>
44#include "MeConfig.h"
45
46#ifdef ME_PORT_DEFINED
47#include "MePort.h"
48#endif
49
50#ifdef ME_PORT_DEFINED
51#include "MeDCMotor.h"
52
58class MBotDCMotor : public MeDCMotor
59{
60public:
67 MBotDCMotor(uint8_t port);
68
85 void move(int direction, int speed);
86};
87#endif //ME_PORT_DEFINED
88#endif //MeMbotDCMotor_H
89
Configuration file of library.
Header for MeDCMotor.cpp module.
Header for MePort.cpp module.
Definition MeMbotDCMotor.h:59
void move(int direction, int speed)
Definition MeMbotDCMotor.cpp:68
Driver for Me DC motor device.
Definition MeDCMotor.h:64