Simple xbee library based on the Serial class with added reset signaling

Dependents:   m3Dpi

xbee.h

Committer:
sillevl
Date:
2015-11-06
Revision:
0:a4621ef93d99

File content as of revision 0:a4621ef93d99:

#include "mbed.h"

class Xbee : public Serial{
    
    public:
    Xbee(PinName tx, PinName rx, PinName reset, const char* name = NULL);
    
    void enable();
    void disable();
    void reset();
    
    protected:
    DigitalOut rst;
    
};