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: Check_VL6180XA1_ToF
Fork of X_NUCLEO_6180XA1 by
Diff: x_nucleo_6180xa1.h
- Revision:
- 4:a5abf7757947
- Parent:
- 0:1fb1f010ac84
- Child:
- 7:2dc81120c917
diff -r 454541a079f4 -r a5abf7757947 x_nucleo_6180xa1.h
--- a/x_nucleo_6180xa1.h Fri Sep 11 14:39:00 2015 +0200
+++ b/x_nucleo_6180xa1.h Thu Sep 17 10:41:21 2015 +0200
@@ -47,9 +47,32 @@
#include "GPIO_expander_class.h"
#include "DevI2C.h"
-
+/* Classes--------------------------------------------------------------------*/
-
+/*class X_NUCLEO_6180XA1
+{
+ protected:
+
+ public:
+ X_NUCLEO_VL6180XA1(); // verificare se necessario passare come argomento un dev_i2c
+ bool VL6180X_Init(); // controlla la presenza del sensore , chiamo Prepare() e setto ready
+ // modificare l'indirizzo i2c dei sensori (slave address)
+
+
+ VL6180X *vl6180x_sensor;
+ Display *display;
+ GPIO_expander *gpio_expander;
+ DevI2C *dev_i2c;
+
+ //posso creare 4 puntatori a istanze di tipo VL6180X, con i nomi della board(S1, left, bottom, right)
+ //oppure posso creare un vettore di VL6180X di dimensione 4 per contenere tutti i sensori
+ //dopo tengo traccia di quali sensori sono presenti e funzionanti
+
+ private:
+ static X_NUCLEO_IKS01A1 *instance;
+
+}
+*/
