IUT CACHAN pour Yves GUINAND
Fork of VL6180 by
Revision 4:c4f807009044, committed 2018-06-12
- Comitter:
- PierreolivierKOENIG
- Date:
- Tue Jun 12 14:48:03 2018 +0000
- Parent:
- 3:5d61f202b1bd
- Commit message:
- v
Changed in this revision
VL6180.cpp | Show annotated file Show diff for this revision Revisions of this file |
VL6180.h | Show annotated file Show diff for this revision Revisions of this file |
--- a/VL6180.cpp Mon Oct 19 21:58:52 2015 +0000 +++ b/VL6180.cpp Tue Jun 12 14:48:03 2018 +0000 @@ -75,6 +75,8 @@ } + + void VL6180::writeI2C(int reg, char data) { char dataout[3];
--- a/VL6180.h Mon Oct 19 21:58:52 2015 +0000 +++ b/VL6180.h Tue Jun 12 14:48:03 2018 +0000 @@ -37,7 +37,7 @@ * @param return Distance to target in cm. Approx 0.0 cm to 20.0 cm. */ float read(); - + /** Float cast is shorthand for read() */ operator float();