We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 781a421 commit ceb3b98Copy full SHA for ceb3b98
Adafruit_TSL2561/Adafruit_TSL2561.py
@@ -490,9 +490,9 @@ def calculateLux(self):
490
return lux
491
492
#**************************************************************************/
493
-# Calculates an averaged Lux value over default 30 samples
+# Calculates an averaged Lux value over default 25 samples
494
495
- def calculateAvgLux(self, testavg=self.TSL2561_NO_OF_AVG_SAMPLES):
+ def calculateAvgLux(self, testavg=TSL2561_NO_OF_AVG_SAMPLES):
496
# Set initial vars
497
count = 0
498
luxavgtotal = 0
0 commit comments