XBee and XBee-PRO ZigBee RF modules provide cost-effective wireless connectivity to electronic devices. They are interoperable with other ZigBee PRO feature set devices, including devices from other vendors.
Pin.h
00001 #ifndef UK_AC_HERTS_SMARTLAB_XBEE_Pin 00002 #define UK_AC_HERTS_SMARTLAB_XBEE_Pin 00003 00004 class Pin 00005 { 00006 private: 00007 static unsigned char bitfield[2]; 00008 00009 unsigned char num; 00010 00011 char com[2]; 00012 00013 unsigned char IODet[2]; 00014 00015 public: 00016 Pin(unsigned char number); 00017 00018 Pin(unsigned char number, unsigned char msbCom, unsigned char lsbCom, unsigned char msbIODet, unsigned char lsbIODet); 00019 00020 unsigned char getNumber(); 00021 00022 char * getCommand(); 00023 00024 unsigned char * getIODetection(); 00025 00026 static unsigned char * IOChangeDetectionConfiguration(Pin ** pins, unsigned char size); 00027 00028 friend bool operator ==(const Pin &a,const Pin &b); 00029 }; 00030 00031 #endif
Generated on Tue Jul 12 2022 18:56:10 by 1.7.2