Skip to content

Commit 693426f

Browse files
committed
Fix class name in example file
Add the underscore to the class name in Adafruit_TSL2561_example.py
1 parent 8b9a141 commit 693426f

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Adafruit_TSL2561/Adafruit_TSL2561_example.py

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
11
#!/usr/bin/python
22

33
from __future__ import print_function
4-
from Adafruit_TSL2561 import AdafruitTSL2561
4+
from Adafruit_TSL2561 import Adafruit_TSL2561
55

66
# Initialise the sensor
7-
LightSensor = AdafruitTSL2561()
7+
LightSensor = Adafruit_TSL2561()
88

99
# Enable auto gain switching between 1x and 16x
1010
# Default is False

0 commit comments

Comments
 (0)