File tree Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change 1
1
SparkFun Ambient Light Sensor - VEML6030 (Qwiic)
2
2
========================================
3
- ![ SparkFun Ambient Light Senstor ] ( https://cdn.sparkfun.com/assets/parts/1/3/9/9/6/15436-SparkFun_Ambient_Light_Sensor_-_VEML6030__Qwiic_-01.jpg )
3
+ ![ SparkFun Ambient Light Sensor ] ( https://cdn.sparkfun.com/assets/parts/1/3/9/9/6/15436-SparkFun_Ambient_Light_Sensor_-_VEML6030__Qwiic_-01.jpg )
4
4
5
- [ * SparkFun Ambient LIght Sensor - VEML6030 (Qwiic) (SEN-15436)* ] ( https://www.sparkfun.com/products/15436 )
5
+ [ * SparkFun Ambient Light Sensor - VEML6030 (Qwiic) (SEN-15436)* ] ( https://www.sparkfun.com/products/15436 )
6
6
7
7
The SparkFun Ambient Light Sensor - VEML6030 (Qwiic) is an I<sup >2</sup >C enabled
8
8
ambient light sensor with high sensitivity and high accuracy. It reads ambient
@@ -27,7 +27,7 @@ Documentation
27
27
28
28
Products that use this library
29
29
--------------
30
- * [ SEN-15436] ( https://www.sparkfun.com/products/15436 ) - SparkFun Ambient LIght Sensor - VEML6030 (Qwiic)
30
+ * [ SEN-15436] ( https://www.sparkfun.com/products/15436 ) - SparkFun Ambient Light Sensor - VEML6030 (Qwiic)
31
31
32
32
License Information
33
33
-------------------
Original file line number Diff line number Diff line change @@ -63,7 +63,7 @@ float SparkFun_Ambient_Light::readGain(){
63
63
uint16_t regVal = _readRegister (SETTING_REG); // Get register
64
64
regVal &= (~GAIN_MASK); // Invert the gain mask to _keep_ the gain
65
65
regVal = (regVal >> GAIN_POS); // Move values to front of the line.
66
-
66
+
67
67
if (regVal == 0 )
68
68
return 1 ;
69
69
else if (regVal == 1 )
You can’t perform that action at this time.
0 commit comments