modified to work with MultiTech mDot on UDK2.0

Dependents:   HelloWorld_53L0A1 unh-hackathon-example unh-hackathon-example-raw

Fork of X_NUCLEO_53L0A1 by ST

Files at this revision

API Documentation at this revision

Comitter:
mfiore
Date:
Sat Apr 08 03:44:26 2017 +0000
Parent:
8:8d27ebb4e1eb
Child:
10:997a796f17c2
Commit message:
use pin D7 instead of D8 - PIN D7 MUST BE JUMPERED TO PIN D8

Changed in this revision

x_nucleo_53l0a1.h Show annotated file Show diff for this revision Revisions of this file
--- a/x_nucleo_53l0a1.h	Wed Dec 07 14:49:50 2016 +0000
+++ b/x_nucleo_53l0a1.h	Sat Apr 08 03:44:26 2017 +0000
@@ -77,7 +77,8 @@
         sensor_centre=new VL53L0X(*dev_i2c, *xshutdown_centre, A2);
        
         xshutdown_left=new STMPE1600DigiOut(*dev_i2c, GPIO_14, (0x43 * 2)); // U21 on schematic
-        sensor_left=new VL53L0X(*dev_i2c, *xshutdown_left, D8);
+        //sensor_left=new VL53L0X(*dev_i2c, *xshutdown_left, D8);
+        sensor_left=new VL53L0X(*dev_i2c, *xshutdown_left, D7);
        
         xshutdown_right=new STMPE1600DigiOut(*dev_i2c, GPIO_15, (0x43 * 2)); // U21 on schematic
         sensor_right=new VL53L0X(*dev_i2c, *xshutdown_right, D2);