We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8c94d5e commit 19db4e5Copy full SHA for 19db4e5
adafruit_seesaw/seesaw.py
@@ -121,6 +121,7 @@
121
122
#TODO: update when we get real PID
123
_CRICKIT_PID = const(9999)
124
+_ROBOHATMM1_PID = const(9998)
125
126
class Seesaw:
127
"""Driver for Seesaw i2c generic conversion trip
@@ -156,6 +157,9 @@ def sw_reset(self):
156
157
if pid == _CRICKIT_PID:
158
from adafruit_seesaw.crickit import Crickit_Pinmap
159
self.pin_mapping = Crickit_Pinmap
160
+ elif pid == _ROBOHATMM1_PID:
161
+ from adafruit_seesaw.robohat import MM1_Pinmap
162
+ self.pin_mapping = MM1_Pinmap
163
else:
164
from adafruit_seesaw.samd09 import SAMD09_Pinmap
165
self.pin_mapping = SAMD09_Pinmap
0 commit comments