For Hepta-Sat Lite
HeptaXbee.h
- Committer:
- HEPTA
- Date:
- 2018-08-08
- Revision:
- 9:96ed36bbc9dd
- Parent:
- 7:d07155a73b24
- Child:
- 12:94abebd3d020
File content as of revision 9:96ed36bbc9dd:
#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_receive(int *xrcmd, int *xcmdflag); void initialize(); void commandget(); void xbee_transmit(char dataA[],char dataB[],char dataC[],char dataD[],char dataE[], char dataF[],char dataG[],char dataH[],char dataI[],char dataJ[], char dataK[],char dataL[],char dataM[],char dataN[]); void puts( char *s ); void printf(char *format, ... ); void putc(char data); char getc(); private: }; #endif