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.
Dependents: capteur_cdf asservissement_robot2_Homologued_real
Diff: VL53L0X.h
- Revision:
- 2:022507164b8e
- Parent:
- 1:0ea6ac47f1ca
--- a/VL53L0X.h Sat Apr 27 18:33:33 2019 +0000
+++ b/VL53L0X.h Sat Apr 27 18:40:01 2019 +0000
@@ -4,6 +4,10 @@
#include "mbed.h"
+// Adresse I2C par défaut du capteur
+#define ADDRESS_DEFAULT 0b0101001
+
+
/** Classe VL53L0X
* Librairie qui interface le capteur ToF VL53L0X.
* Sert à mesurer des distances.
@@ -43,10 +47,6 @@
* @endcode
*/
-// Adresse I2C par défaut du capteur
-#define ADDRESS_DEFAULT 0b0101001
-
-
class VL53L0X
{
public: