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

Dependents:   m3Dpi

Revision:
0:a4621ef93d99
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/xbee.h	Fri Nov 06 18:49:29 2015 +0000
@@ -0,0 +1,15 @@
+#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;
+    
+};
\ No newline at end of file