Skip to content

Commit

Permalink
Merge pull request #7 from victorh800/master
Browse files Browse the repository at this point in the history
Update Adafruit_VL6180X.cpp
  • Loading branch information
ladyada authored Nov 24, 2018
2 parents ac27a63 + 7c1157d commit 71fe8d2
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Adafruit_VL6180X.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -221,7 +221,7 @@ float Adafruit_VL6180X::readLux(uint8_t gain) {
lux /= 1.25;
break;
case VL6180X_ALS_GAIN_1_67:
lux /= 1.76;
lux /= 1.67;
break;
case VL6180X_ALS_GAIN_2_5:
lux /= 2.5;
Expand All @@ -236,7 +236,7 @@ float Adafruit_VL6180X::readLux(uint8_t gain) {
lux /= 20;
break;
case VL6180X_ALS_GAIN_40:
lux /= 20;
lux /= 40;
break;
}
lux *= 100;
Expand Down

0 comments on commit 71fe8d2

Please sign in to comment.