sdf

Dependencies:   mbed C12832 Servo RangeFinder Pulse

Motorrrelay/Motor_relay.cpp

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

File content as of revision 0:4db5f0f5faa0:

#include "mbed.h"
#include "Motor_relay.h"
 
MOTOR_RELAY::MOTOR_RELAY(PinName dirA) : _pinA(dirA)
{
    _pinA=1;
   
}
void MOTOR_RELAY::SetMotor(uint8_t direct)
{
   
        _pinA=direct;
    
 
   
}
void MOTOR_RELAY::StopMotor()
{
    _pinA=1;
   
}