Fixed STMPE1600 writeSYS_CTRL, enabled multi sensors support

Dependencies:   ST_INTERFACES X_NUCLEO_COMMON

Fork of X_NUCLEO_53L0A1 by ST

Revision:
9:992abcfb7ef5
Parent:
7:35ecf3e060c3
--- a/Components/VL53L0X/vl53l0x_class.h	Mon Dec 05 11:50:38 2016 +0000
+++ b/Components/VL53L0X/vl53l0x_class.h	Mon Mar 27 12:37:57 2017 +0000
@@ -352,6 +352,7 @@
 	          *gpio0 = 1;
         else if (expgpio0) 
             *expgpio0 = 1;
+        wait_ms (10);    
     } 
 
 	/**
@@ -365,6 +366,7 @@
 	          *gpio0 = 0;
         else if (expgpio0) 
             *expgpio0 = 0;
+        wait_ms (10);    
     }
     
 	/**
@@ -536,20 +538,20 @@
 
         if(Status == VL53L0X_ERROR_NONE)
         {
-            printf ("Call of VL53L0X_StaticInit\n");
+//            printf ("Call of VL53L0X_StaticInit\n");
             Status = VL53L0X_StaticInit(Device); // Device Initialization
         }
     
         if(Status == VL53L0X_ERROR_NONE)
         {
-            printf ("Call of VL53L0X_PerformRefCalibration\n");
+//            printf ("Call of VL53L0X_PerformRefCalibration\n");
            Status = VL53L0X_PerformRefCalibration(Device,
                         		&VhvSettings, &PhaseCal); // Device Initialization
         }
 
         if(Status == VL53L0X_ERROR_NONE)
         {
-            printf ("Call of VL53L0X_PerformRefSpadManagement\n");
+//            printf ("Call of VL53L0X_PerformRefSpadManagement\n");
             Status = VL53L0X_PerformRefSpadManagement(Device,
                              &refSpadCount, &isApertureSpads); // Device Initialization
 //            printf ("refSpadCount = %d, isApertureSpads = %d\n", refSpadCount, isApertureSpads);