Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Dependencies: mbed PowerControl SDFileSystem
Fork of HeptaBattery_SDFilesystem_Q by
Diff: hepta_sat/HeptaXbee.h
- Revision:
- 0:9eb94b338772
diff -r 000000000000 -r 9eb94b338772 hepta_sat/HeptaXbee.h
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/hepta_sat/HeptaXbee.h Fri Dec 09 04:53:49 2016 +0000
@@ -0,0 +1,28 @@
+#ifndef MBED_HEPTAXBEE_H
+#define MBED_HEPTAXBEE_H
+#include "mbed.h"
+
+//Xbee Series2
+
+class HeptaXbee{
+public:
+ Serial xbee;
+ int rcmd;
+ int cmdflag;
+ HeptaXbee(
+ PinName tx,
+ PinName rx
+ );
+ void baud(int rate);
+ void xbee_recieve(int *xrcmd, int *xcmdflag);
+ void initialize();
+ void commandget();
+ void putc(char data);
+ void xbee_transmit(char* output_data,size_t output_n,
+ char data1[],char data2[],char data3[],char data4[],char data5[],char data6[],char data7[],char data8[],char data9[],
+ int n1,int n2,int n3,int n4,int n5,int n6,int n7,int n8,int n9);
+ void puts( char *s );
+ void printf(char *format, ... );
+private:
+};
+#endif
\ No newline at end of file
