first_library
Dependents: 2019_tourobo_upper minirobo_upper_reserve minirobo_under_reserve serial_RTX_NUCLEA
Diff: Sabertooth_Serial.h
- Revision:
- 0:03e99bd9339e
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/Sabertooth_Serial.h Mon Feb 04 04:30:22 2019 +0000 @@ -0,0 +1,18 @@ +#ifndef SABERSERIAL_H +#define SABERSERIAL_H +#include "mbed.h" + +class SaberSerial { + +public: + SaberSerial(int baudrate, PinName tx, PinName rx); + + void Serial(int addresss, int direction, int cmd); + +private: + + RawSerial _Sabertooth; + +}; + +#endif \ No newline at end of file