first_library

Dependents:   2019_tourobo_upper minirobo_upper_reserve minirobo_under_reserve serial_RTX_NUCLEA

Sabertooth_Serial.h

Committer:
sink
Date:
2019-02-04
Revision:
1:9dd052490f0a
Parent:
0:03e99bd9339e

File content as of revision 1:9dd052490f0a:

#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