Skip to content

Commit 7419bf8

Browse files
authored
Update VL53L1_Sat_HelloWorld.ino
1 parent bcadcd9 commit 7419bf8

File tree

1 file changed

+11
-2
lines changed

1 file changed

+11
-2
lines changed

examples/VL53L1_Sat_HelloWorld/VL53L1_Sat_HelloWorld.ino

Lines changed: 11 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,16 @@
3737
*
3838
******************************************************************************
3939
*/
40-
40+
/*
41+
* To use this sketch you need to connect the VL53L1 satellite sensor directly to the Nucleo board with wires in this way:
42+
* pin 1 (Interrupt) of the VL53L1 satellite connected to pin A2 of the Nucleo board
43+
* 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
44+
* pin 3 (XSDN_I) of the VL53L1 satellite connected to pin A1 of the Nucleo board
45+
* 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
46+
* pin 5 (VDD) of the VL53L1 satellite connected to 3V3 pin of the Nucleo board
47+
* pin 6 (GND) of the VL53L1 satellite connected to GND of the Nucleo board
48+
* pins 7, 8, 9 and 10 are not connected.
49+
*/
4150
/* Includes ------------------------------------------------------------------*/
4251
#include <Arduino.h>
4352
#include <Wire.h>
@@ -128,4 +137,4 @@ void loop()
128137
}
129138

130139
digitalWrite(13, LOW);
131-
}
140+
}

0 commit comments

Comments
 (0)