Skip to content

Commit 5a73f4d

Browse files
committed
DM: update pinmap
1 parent 412392c commit 5a73f4d

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

adafruit_crickit.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -59,6 +59,7 @@
5959
pass
6060

6161
from adafruit_seesaw.seesaw import Seesaw
62+
from adafruit_seesaw.crickit import Crickit_Pinmap
6263
from adafruit_seesaw.pwmout import PWMOut
6364
from adafruit_motor.servo import Servo, ContinuousServo
6465
from adafruit_motor.motor import DCMotor
@@ -159,6 +160,7 @@ class Crickit:
159160

160161
def __init__(self, seesaw):
161162
self._seesaw = seesaw
163+
self._seesaw.pin_mapping = Crickit_Pinmap
162164
# Associate terminal(s) with certain devices.
163165
# Used to find existing devices.
164166
self._devices = dict()

0 commit comments

Comments
 (0)