![](/media/cache/img/default_profile.jpg.50x50_q85.jpg)
khl
Fork of Check_VL53L0X_simple_with_three_ToF by
Diff: main.cpp
- Revision:
- 1:97619a86ab73
- Parent:
- 0:1cb83a7e5598
--- 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