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:
2:700dc65ca3b1
Parent:
0:837e6c48e90d
Child:
4:a0f1fba6c2fb
--- a/Type/IOSamples.h	Thu Oct 22 20:02:11 2015 +0000
+++ b/Type/IOSamples.h	Thu Oct 22 22:22:12 2015 +0000
@@ -11,19 +11,19 @@
 private :
     int SUPPLY_VOLTAGE;
     
-    map<Pin, int> analog;
+    map<Pin *, int> analog;
     
-    map<Pin, int> digital;
+    map<Pin *, int> digital;
 
 public:    
-    map<Pin, int> * getAnalogs();
+    map<Pin *, int> * getAnalogs();
     
     /**
     *        -1 means not avaliable
     */
     int getAnalog(Pin * pin);
     
-    map<Pin, int> * getDigitals();
+    map<Pin *, int> * getDigitals();
     
     /**
     *        LOW = 0,
@@ -35,6 +35,8 @@
     int getSupplyVoltage();
     
     void setSupplyVoltage(int voltage);
+    
+    void clear();
 };
 
 #endif
\ No newline at end of file