HeptaXbee Library
Dependents: Lab9-01_All_transmit Lab9-03_Thermal_chamber 3daf572bcae1 Team ... more
Fork of HeptaXbee by
HeptaXbee.h
- Committer:
- HEPTA
- Date:
- 2017-09-05
- Revision:
- 7:d07155a73b24
- Parent:
- 5:c441a88f6952
- Child:
- 9:96ed36bbc9dd
File content as of revision 7:d07155a73b24:
#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 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