HeptaXbee Library
Dependents: Lab9-01_All_transmit Lab9-03_Thermal_chamber 3daf572bcae1 Team ... more
Fork of HeptaXbee by
HeptaXbee.h
- Committer:
- hepta2ume
- Date:
- 2017-07-19
- Revision:
- 0:1e02be589d1f
- Child:
- 1:c31e4a5db17c
File content as of revision 0:1e02be589d1f:
#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 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[], int n1,int n2,int n3,int n4,int n5,int n6,int n7,int n8,int n9,int data_num); void puts( char *s ); void printf(char *format, ... ); private: }; #endif