For Hepta-Sat Lite
Diff: HeptaXbee.h
- Revision:
- 4:ede5c519e238
- Parent:
- 2:031c35ada7e6
- Child:
- 5:c441a88f6952
--- a/HeptaXbee.h Sat Aug 05 14:21:01 2017 +0000 +++ b/HeptaXbee.h Wed Aug 23 06:18:34 2017 +0000 @@ -4,24 +4,30 @@ //Xbee Series2 -class HeptaXbee{ +class HeptaXbee +{ public: Serial xbee; int rcmd; int cmdflag; HeptaXbee( PinName tx, - PinName rx + PinName rx ); void xbee_recieve(int *xrcmd, int *xcmdflag); void initialize(); void commandget(); 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[],char data10[],char data11[],char data12[],char data13[],char data14[], - int n1,int n2,int n3,int n4,int n5,int n6,int n7,int n8,int n9,int n10,int n11,int n12,int n13,int n14,int data_num); + char data1[],char data2[],char data3[],char data4[],char data5[],char data6[],char data7[],char data8[],char data9[],char data10[],char data11[],char data12[],char data13[],char data14[], + int n1,int n2,int n3,int n4,int n5,int n6,int n7,int n8,int n9,int n10,int n11,int n12,int n13,int n14,int data_num); + /* void xbee_transmit_SD(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[],char data10[],char data11[],char data12[],char data13[],char data14[], + int n1,int n2,int n3,int n4,int n5,int n6,int n7,int n8,int n9,int n10,int n11,int n12,int n13,int n14,int data_num);*/ void puts( char *s ); void printf(char *format, ... ); + char putc(char cc); char getc(); + // void baud(void); private: }; #endif \ No newline at end of file