Skip to content

Commit b305ff7

Browse files
authored
Merge pull request #7 from kattni/joy-seesaw-update
Updated lib to match seesaw lib updates
2 parents 79516d6 + 04cc5c9 commit b305ff7

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

adafruit_featherwing/joy_featherwing.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@
3131
__version__ = "0.0.0-auto.0"
3232
__repo__ = "https://github.com/adafruit/Adafruit_CircuitPython_FeatherWing.git"
3333

34-
import adafruit_seesaw
34+
import adafruit_seesaw.seesaw
3535
from adafruit_featherwing import shared
3636
from micropython import const
3737

@@ -47,7 +47,7 @@ class JoyFeatherWing:
4747
4848
Automatically uses the feather's I2C bus."""
4949
def __init__(self):
50-
self._seesaw = adafruit_seesaw.Seesaw(shared.I2C_BUS)
50+
self._seesaw = adafruit_seesaw.seesaw.Seesaw(shared.I2C_BUS)
5151
self._seesaw.pin_mode_bulk(BUTTON_A | BUTTON_B | BUTTON_Y | BUTTON_X | BUTTON_SELECT,
5252
self._seesaw.INPUT_PULLUP)
5353

0 commit comments

Comments
 (0)