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.
Dependencies: wheelchaircontrol1
Revision 10:b4d68db3ddbd, committed 2019-06-27
- Comitter:
- jvfausto
- Date:
- Thu Jun 27 16:32:18 2019 +0000
- Parent:
- 9:ca11e4db63a7
- Child:
- 11:73b4380d82bf
- Commit message:
- a
Changed in this revision
| main.cpp | Show annotated file Show diff for this revision Revisions of this file |
| wheelchaircontrol.lib | Show annotated file Show diff for this revision Revisions of this file |
--- a/main.cpp Fri Apr 19 23:08:27 2019 +0000
+++ b/main.cpp Thu Jun 27 16:32:18 2019 +0000
@@ -25,17 +25,17 @@
Serial pc(USBTX, USBRX, 57600); //Serial Monitor
-VL53L1X sensor1(PB_11, PB_10, D0); //initializes ToF sensors
-VL53L1X sensor2(PB_11, PB_10, D1);
-VL53L1X sensor3(PB_11, PB_10, D2);
-VL53L1X sensor4(PB_11, PB_10, D3);
-VL53L1X sensor5(PB_11, PB_10, D4);
-VL53L1X sensor6(PB_11, PB_10, D5);
-VL53L1X sensor7(PB_11, PB_10, PE_14);
-VL53L1X sensor8(PB_11, PB_10, PE_12);
-VL53L1X sensor9(PB_11, PB_10, PE_10);
-VL53L1X sensor10(PB_11, PB_10, PE_15);
-VL53L1X sensor11(PB_11, PB_10, D6);
+VL53L1X sensor1(PD_13, PD_12, PA_15); //initializes ToF sensors
+VL53L1X sensor2(PD_13, PD_12, PC_7);
+VL53L1X sensor3(PD_13, PD_12, PB_5);
+VL53L1X sensor4(PD_13, PD_12, PE_11);
+VL53L1X sensor5(PD_13, PD_12, PF_14);
+VL53L1X sensor6(PD_13, PD_12, PE_13);
+VL53L1X sensor7(PD_13, PD_12, D6);
+VL53L1X sensor8(PD_13, PD_12, PE_12);
+VL53L1X sensor9(PD_13, PD_12, PE_10);
+VL53L1X sensor10(PD_13, PD_12, PE_15);
+VL53L1X sensor11(PD_13, PD_12, D6);
VL53L1X sensor12(PB_11, PB_10, D11);
VL53L1X* ToF[12] = {&sensor1, &sensor2, &sensor3, &sensor4, &sensor5, &sensor6,
--- a/wheelchaircontrol.lib Fri Apr 19 23:08:27 2019 +0000 +++ b/wheelchaircontrol.lib Thu Jun 27 16:32:18 2019 +0000 @@ -1,1 +1,1 @@ -https://os.mbed.com/users/jvfausto/code/wheelchaircontrol1/#fb99cce6b9b5 +https://os.mbed.com/users/jvfausto/code/wheelchaircontrol1/#662693bd7f31