Skip to content

Commit 7812225

Browse files
authored
Nicla Vision Proximity tutorial fixes (#524)
Nicla Vision Proximity tutorial fix typos
1 parent db34188 commit 7812225

File tree

1 file changed

+5
-5
lines changed
  • content/hardware/05.nicla/boards/nicla-vision/tutorials/proximity

1 file changed

+5
-5
lines changed

content/hardware/05.nicla/boards/nicla-vision/tutorials/proximity/content.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ software:
2020

2121
In this tutorial you will use the Nicla Vision to detect proximity, thanks to the Time of Flight (ToF) sensor **VL53L1X**.
2222

23-
This tutorial goes through how to create a sketch that will blink the built-in RGB LED and control the speed of its blink with the proximity values. It can be useful for future projects where there is a need to control the camera only when something is detected in front of the sensor.
23+
This tutorial teaches you how to create a sketch that will blink the built-in RGB LED and control the speed of its blink with the proximity values. It can be useful for future projects where there is the need to control the camera only when something is detected in front of the sensor.
2424

2525
***The Arduino sketch shown is available inside the `Arduino_Pro_Tutorials` library by going to Examples > Nicla Vision > Proximity_Blink***
2626

@@ -56,7 +56,7 @@ If you are using version 1.6.2 or later of the Arduino software (IDE), you can u
5656

5757
### Include the Needed Libraries and Objects Declaration
5858

59-
First of all declare the sensor's class so you can access it later on in your sketch. We use variables to control the time elements in the sketch. This will make sure that the readings stay accurate over time.
59+
First of all, declare the sensor's class so you can access it later on in your sketch. You can use variables to control the time elements in the sketch. This will make sure that the readings stay accurate over time.
6060

6161
```cpp
6262
#include "VL53L1X.h"
@@ -70,7 +70,7 @@ int blinkTime = 2000;
7070

7171
### Initialize the Proximity Sensor and the LED
7272

73-
Inside the setup you need to initialize and configure the proximity sensor. Also the RGB LED needs to be set as an output to make it light up and enable us to change its behavior.
73+
Inside the setup you need to initialize and configure the proximity sensor. Also the RGB LED needs to be set as an output to make it light up and enable you to change its behavior.
7474

7575
***The LEDs are accessed in the same way as on the Portenta H7: LEDR, LEDG and LEDB.***
7676

@@ -95,7 +95,7 @@ Inside the setup you need to initialize and configure the proximity sensor. Also
9595
}
9696
```
9797
98-
***Make sure you initialize `Wire1`, set the clock speed to 400 kHz and set the bus pointer to `Wire1`, it won't work if you don't add these setting.***
98+
***Make sure you initialize `Wire1`, set the clock speed to 400 kHz and set the bus pointer to `Wire1`. It will not work if you do not add these setting.***
9999
100100
### Control the Speed of the Blink
101101
@@ -181,4 +181,4 @@ void loop() {
181181

182182
## Conclusion
183183

184-
In this tutorial we went through how to get readings from the ToF sensor. And how use these readings to change how the built-in LED behaves. At the end of the tutorial you can also find a reference list for the ToF library.
184+
In this tutorial we went through how to get readings from the ToF sensor and how use these readings to change how the built-in LED behaves. At the end of the tutorial you can also find a reference list for the ToF library.

0 commit comments

Comments
 (0)