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 11SparkFun Ambient Light Sensor - VEML6030 (Qwiic)
22========================================
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 )
44
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 )
66
77The SparkFun Ambient Light Sensor - VEML6030 (Qwiic) is an I<sup >2</sup >C enabled
88ambient light sensor with high sensitivity and high accuracy. It reads ambient
@@ -27,7 +27,7 @@ Documentation
2727
2828Products that use this library
2929--------------
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)
3131
3232License Information
3333-------------------
Original file line number Diff line number Diff line change @@ -63,7 +63,7 @@ float SparkFun_Ambient_Light::readGain(){
6363 uint16_t regVal = _readRegister (SETTING_REG); // Get register
6464 regVal &= (~GAIN_MASK); // Invert the gain mask to _keep_ the gain
6565 regVal = (regVal >> GAIN_POS); // Move values to front of the line.
66-
66+
6767 if (regVal == 0 )
6868 return 1 ;
6969 else if (regVal == 1 )
You can’t perform that action at this time.
0 commit comments