Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Dependents: Check_VL6180XA1_ToF
Fork of X_NUCLEO_6180XA1 by
Diff: x_nucleo_6180xa1.h
- Revision:
- 37:837cffa6b530
- Parent:
- 36:f6278b3e7c82
- Child:
- 42:692c6223dc24
--- a/x_nucleo_6180xa1.h Tue Nov 24 16:04:41 2015 +0000
+++ b/x_nucleo_6180xa1.h Fri Nov 27 08:47:30 2015 +0000
@@ -73,16 +73,16 @@
display = new Display(*stmpe1600);
gpio0_top=new STMPE1600DigiOut(*dev_i2c, GPIO_12);
- sensor_top=new VL6180X(*dev_i2c, *gpio0_top, PB_0);
+ sensor_top=new VL6180X(*dev_i2c, *gpio0_top, A3);
gpio0_bottom=new STMPE1600DigiOut(*dev_i2c, GPIO_13);
- sensor_bottom=new VL6180X(*dev_i2c, *gpio0_bottom, PA_4);
+ sensor_bottom=new VL6180X(*dev_i2c, *gpio0_bottom, A2);
gpio0_left=new STMPE1600DigiOut(*dev_i2c, GPIO_14);
- sensor_left=new VL6180X(*dev_i2c, *gpio0_left, PA_5);
+ sensor_left=new VL6180X(*dev_i2c, *gpio0_left, D13);
gpio0_right=new STMPE1600DigiOut(*dev_i2c, GPIO_15);
- sensor_right=new VL6180X(*dev_i2c, *gpio0_right, PA_10);
+ sensor_right=new VL6180X(*dev_i2c, *gpio0_right, D2);
}
/** Constructor 2
