khl

Dependencies:   VL53L0X_simple

Fork of Check_VL53L0X_simple_with_three_ToF by Kenji Arai

Files at this revision

API Documentation at this revision

Comitter:
kenken0721
Date:
Sat Jun 30 05:52:23 2018 +0000
Parent:
0:1cb83a7e5598
Commit message:

Changed in this revision

main.cpp Show annotated file Show diff for this revision Revisions of this file
diff -r 1cb83a7e5598 -r 97619a86ab73 main.cpp
--- a/main.cpp	Tue Feb 06 10:38:14 2018 +0000
+++ b/main.cpp	Sat Jun 30 05:52:23 2018 +0000
@@ -36,7 +36,7 @@
 DigitalOut  myled(LED1);
 Serial      pc(USBTX, USBRX);
 //I2C         i2c(P0_30, P0_7);     // only for TY51822r3
-I2C         i2c(I2C_SDA, I2C_SCL);
+I2C         i2c(PB_9, PB_8);
 VL53L0X     tof_center(i2c, D8);  // XSHUT is mandatory for multi setting
 VL53L0X     tof_left(i2c, D9);    // XSHUT is mandatory for multi setting
 VL53L0X     tof_right(i2c, D10);  // XSHUT is mandatory for multi setting