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 SDFilesystem by
HeptaXbee.h
00001 #ifndef MBED_HEPTAXBEE_H 00002 #define MBED_HEPTAXBEE_H 00003 #include "mbed.h" 00004 00005 //Xbee Series2 00006 00007 class HeptaXbee{ 00008 public: 00009 Serial xbee; 00010 int rcmd; 00011 int cmdflag; 00012 HeptaXbee( 00013 PinName tx, 00014 PinName rx 00015 ); 00016 void baud(int rate); 00017 void xbee_recieve(int *xrcmd, int *xcmdflag); 00018 void initialize(); 00019 void commandget(); 00020 void putc(char data); 00021 void xbee_transmit(char* output_data,size_t output_n, 00022 char data1[],char data2[],char data3[],char data4[],char data5[],char data6[],char data7[],char data8[],char data9[], 00023 int n1,int n2,int n3,int n4,int n5,int n6,int n7,int n8,int n9); 00024 void puts( char *s ); 00025 void printf(char *format, ... ); 00026 private: 00027 }; 00028 #endif
Generated on Fri Jul 15 2022 08:06:17 by
1.7.2
