Skip to content

Commit

Permalink
DM: example fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
deanm1278 committed May 7, 2018
1 parent 1127b18 commit db8bab7
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions examples/Joy_Featherwing.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

from board import SCL, SDA
import busio
import adafruit_seesaw
from adafruit_seesaw.seesaw import Seesaw
from micropython import const

# pylint: disable=bad-whitespace
Expand All @@ -20,7 +20,7 @@

i2c_bus = busio.I2C(SCL, SDA)

ss = adafruit_seesaw.Seesaw(i2c_bus)
ss = Seesaw(i2c_bus)

ss.pin_mode_bulk(button_mask, ss.INPUT_PULLUP)

Expand Down
4 changes: 2 additions & 2 deletions examples/seesaw_simpletest.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,11 +6,11 @@

from board import SCL, SDA
import busio
import adafruit_seesaw
from adafruit_seesaw.seesaw import Seesaw

i2c_bus = busio.I2C(SCL, SDA)

ss = adafruit_seesaw.Seesaw(i2c_bus)
ss = Seesaw(i2c_bus)

ss.pin_mode(15, ss.OUTPUT)

Expand Down

0 comments on commit db8bab7

Please sign in to comment.