sdf
Dependencies: mbed C12832 Servo RangeFinder Pulse
Diff: Motorrrelay/Motor_relay.h
- Revision:
- 0:4db5f0f5faa0
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/Motorrrelay/Motor_relay.h Wed Feb 23 10:19:24 2022 +0000 @@ -0,0 +1,19 @@ +#ifndef MBED_MOTOR_RELAY_H +#define MBED_MOTOR_RELAY_H + +#include "mbed.h" + +class MOTOR_RELAY +{ +public: + MOTOR_RELAY(PinName dirA); + void SetMotor(uint8_t direct); + void StopMotor(); + +private: + DigitalOut _pinA; + +}; + +#endif + \ No newline at end of file