sdf

Dependencies:   mbed C12832 Servo RangeFinder Pulse

Embed: (wiki syntax)

« Back to documentation index

Show/hide line numbers Motor_relay.h Source File

Motor_relay.h

00001 #ifndef MBED_MOTOR_RELAY_H
00002 #define MBED_MOTOR_RELAY_H
00003  
00004 #include "mbed.h"
00005  
00006 class MOTOR_RELAY
00007 {
00008 public:
00009     MOTOR_RELAY(PinName dirA);
00010     void SetMotor(uint8_t direct);
00011     void StopMotor();
00012  
00013 private:
00014     DigitalOut _pinA;
00015    
00016 };
00017  
00018 #endif
00019