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.

Dependencies:   BufferedArray

Dependents:   MBEDminiproject

Revision:
6:5f31ddc17239
Parent:
4:a0f1fba6c2fb
--- a/Device/Pin.h	Thu Nov 05 23:03:42 2015 +0000
+++ b/Device/Pin.h	Sat Nov 14 16:42:36 2015 +0000
@@ -4,28 +4,28 @@
 class Pin
 {
 private:
-    static char bitfield[2];
+    static unsigned char bitfield[2];
 
-    char num;
+    unsigned char num;
 
     char com[2];
 
-    char IODet[2];
+    unsigned char IODet[2];
 
 public:
-    Pin(char number);
+    Pin(unsigned char number);
 
-    Pin(char number, char msbCom, char lsbCom, char msbIODet, char lsbIODet);
+    Pin(unsigned char number, unsigned char msbCom, unsigned char lsbCom, unsigned char msbIODet, unsigned char lsbIODet);
 
-    char getNumber();
+    unsigned char getNumber();
 
     char * getCommand();
 
-    char * getIODetection();
+    unsigned  char * getIODetection();
 
-    static char * IOChangeDetectionConfiguration(Pin ** pins, char size);
+    static unsigned  char * IOChangeDetectionConfiguration(Pin ** pins, unsigned char size);
 
-    friend bool operator <(const Pin &a,const Pin &b);
+    friend bool operator ==(const Pin &a,const Pin &b);
 };
 
 #endif
\ No newline at end of file