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.
Device/Pin.h
- Committer:
- yangcq88517
- Date:
- 2015-11-14
- Revision:
- 6:5f31ddc17239
- Parent:
- 4:a0f1fba6c2fb
File content as of revision 6:5f31ddc17239:
#ifndef UK_AC_HERTS_SMARTLAB_XBEE_Pin #define UK_AC_HERTS_SMARTLAB_XBEE_Pin class Pin { private: static unsigned char bitfield[2]; unsigned char num; char com[2]; unsigned char IODet[2]; public: Pin(unsigned char number); Pin(unsigned char number, unsigned char msbCom, unsigned char lsbCom, unsigned char msbIODet, unsigned char lsbIODet); unsigned char getNumber(); char * getCommand(); unsigned char * getIODetection(); static unsigned char * IOChangeDetectionConfiguration(Pin ** pins, unsigned char size); friend bool operator ==(const Pin &a,const Pin &b); }; #endif