Skip to content

Commit 1e22b5f

Browse files
committed
Increase version. Format example.
1 parent f104bdd commit 1e22b5f

2 files changed

Lines changed: 6 additions & 4 deletions

File tree

examples/SparkFun_VL6180X_demo/SparkFun_VL6180X_demo.ino

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -55,8 +55,10 @@ void setup()
5555

5656
if (sensor.VL6180xInit() != 0)
5757
{
58-
Serial.println("FAILED TO INITALIZE"); // Initialize device and check for errors
59-
};
58+
Serial.println("Failed to initialize. Freezing..."); // Initialize device and check for errors
59+
while (1)
60+
;
61+
}
6062

6163
sensor.VL6180xDefautSettings(); // Load default settings to get started.
6264

library.properties

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
name=SparkFun VL6180 Sensor
2-
version=1.1.0
3-
author=Casey Kuhns@SparkFun <techsupport@sparkfun.com>
2+
version=1.1.1
3+
author=SparkFun Electronics <techsupport@sparkfun.com>
44
maintainer=SparkFun Electronics <sparkfun.com>
55
sentence=The VL6180 combines an IR emitter, a range sensor, and an ambient light sensor together for you to easily use and communicate with via an I2C interface.
66
paragraph=Library allows you to read distance and light outputs from the sensor, outputting the data via a serial connection.

0 commit comments

Comments
 (0)