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

Dependents:   m3Dpi

Embed: (wiki syntax)

« Back to documentation index

Show/hide line numbers xbee.h Source File

xbee.h

00001 #include "mbed.h"
00002 
00003 class Xbee : public Serial{
00004     
00005     public:
00006     Xbee(PinName tx, PinName rx, PinName reset, const char* name = NULL);
00007     
00008     void enable();
00009     void disable();
00010     void reset();
00011     
00012     protected:
00013     DigitalOut rst;
00014     
00015 };