VL53L3 Shield specific functions.
Dependents: 53L3A2_Ranging X_NUCLEO_53L3CX
Revision 3:6747fdb48f95, committed 2021-07-21
- Comitter:
- charlesmn
- Date:
- Wed Jul 21 14:49:22 2021 +0000
- Parent:
- 2:81763ffd2222
- Commit message:
- remove warning
Changed in this revision
NoShield53L3.h | Show annotated file Show diff for this revision Revisions of this file |
diff -r 81763ffd2222 -r 6747fdb48f95 NoShield53L3.h --- a/NoShield53L3.h Wed Jul 14 15:07:09 2021 +0000 +++ b/NoShield53L3.h Wed Jul 21 14:49:22 2021 +0000 @@ -81,7 +81,7 @@ NoShield53L3(vl53L3_DevI2C *ext_i2c, PinName gpio1_centre, PinName gpio1_left, PinName gpio1_right) : dev_i2c(ext_i2c) { - printf("NoShield53L3 constructor %d %d %d %d\n",ext_i2c,gpio1_centre,gpio1_left,gpio1_right); + printf("NoShield53L3 constructor %d %d %d %d\n",(int)ext_i2c,gpio1_centre,gpio1_left,gpio1_right); sensor_centre = new VL53L3CX(dev_i2c, 0, gpio1_centre); sensor_left = new VL53L3CX(dev_i2c, 0, gpio1_left);