Skip to content

Commit 3f3979f

Browse files
committed
Fixed main reference to tsl2561 class
1 parent 4559bb5 commit 3f3979f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Adafruit_TSL2561/Adafruit_TSL2561.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -510,7 +510,7 @@ def calculateAvgLux(self, testavg=TSL2561_NO_OF_AVG_SAMPLES):
510510
return (luxavg)
511511

512512
if __name__ == "__main__":
513-
LightSensor = Adafruit_TSL2651()
513+
LightSensor = Adafruit_TSL2561()
514514
LightSensor.enableAutoGain(True)
515515

516516
# See if "loop" has been passed as an arg.

0 commit comments

Comments
 (0)