File tree Expand file tree Collapse file tree 1 file changed +11
-2
lines changed
examples/VL53L1_Sat_HelloWorld_Interrupt Expand file tree Collapse file tree 1 file changed +11
-2
lines changed Original file line number Diff line number Diff line change 42
42
// On some boards like the Arduino Uno the pin used by the sensor to raise interrupts (A2)
43
43
// can't be mapped as an interrupt pin. For this this reason this sketch will not work
44
44
// unless some additional cabling is done and the interrupt pin is changed.
45
-
45
+ /*
46
+ * To use this sketch you need to connect the VL53L1 satellite sensor directly to the Nucleo board with wires in this way:
47
+ * pin 1 (Interrupt) of the VL53L1 satellite connected to pin A2 of the Nucleo board
48
+ * pin 2 (SCL_I) of the VL53L1 satellite connected to pin D15 (SCL) of the Nucleo board with a Pull-Up resistor of 4.7 KOhm
49
+ * pin 3 (XSDN_I) of the VL53L1 satellite connected to pin A1 of the Nucleo board
50
+ * pin 4 (SDA_I) of the VL53L1 satellite connected to pin D14 (SDA) of the Nucleo board with a Pull-Up resistor of 4.7 KOhm
51
+ * pin 5 (VDD) of the VL53L1 satellite connected to 3V3 pin of the Nucleo board
52
+ * pin 6 (GND) of the VL53L1 satellite connected to GND of the Nucleo board
53
+ * pins 7, 8, 9 and 10 are not connected.
54
+ */
46
55
/* Includes ------------------------------------------------------------------*/
47
56
#include < Arduino.h>
48
57
#include < Wire.h>
@@ -147,4 +156,4 @@ void loop()
147
156
148
157
digitalWrite (13 , LOW);
149
158
}
150
- }
159
+ }
You can’t perform that action at this time.
0 commit comments