sdf

Dependencies:   mbed C12832 Servo RangeFinder Pulse

Motorrrelay/Motor_relay.h

Committer:
asimelfadil
Date:
2022-03-01
Revision:
1:47dc87d326ed
Parent:
0:4db5f0f5faa0

File content as of revision 1:47dc87d326ed:

#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