sdf

Dependencies:   mbed C12832 Servo RangeFinder Pulse

Motorrrelay/Motor_relay.h

Committer:
asimelfadil
Date:
2022-02-23
Revision:
0:4db5f0f5faa0

File content as of revision 0:4db5f0f5faa0:

#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