Loop based controller for dual lane siemens siplace feeder.
HBridge.h
- Committer:
- Issus
- Date:
- 2017-02-02
- Revision:
- 0:617334d8e3bb
File content as of revision 0:617334d8e3bb:
#ifndef HBRIDGE_H_
#define HBRIDGE_H_
#include "mbed.h"
class HBridge
{
public:
HBridge(PinName i1, PinName i2);
void Coast();
void Brake();
void Forward();
void Reverse();
private:
DigitalOut IN1;
DigitalOut IN2;
};
#endif
Mark Harris