Skip to content

Commit 8c94d5e

Browse files
committed
updated names
1 parent 5947fb9 commit 8c94d5e

File tree

1 file changed

+5
-4
lines changed

1 file changed

+5
-4
lines changed

adafruit_seesaw/robohat.py

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,7 @@
2626
__version__ = "0.0.0-auto.0"
2727
__repo__ = "https://github.com/adafruit/Adafruit_CircuitPython_seesaw.git"
2828

29+
# Robo HAT MM1 Board: https://www.crowdsupply.com/robotics-masters/robo-hat-mm1
2930

3031
# The ordering here reflects the seesaw firmware (mm1_hat) pinmap for Robo HAT MM1,
3132
# not logical ordering of the HAT terminals.
@@ -76,17 +77,17 @@ class MM1_Pinmap:
7677
# analog[0]:47 analog[1]:48 analog[2]: analog[3]:
7778
# analog[4]: analog[5]: analog[6]: analog[7]:
7879
#
79-
analog_pins = (_MM1_SIGNAL3, _MM1_SIGNAL2)
80+
analog_pins = (_MM1_D3, _MM1_D2)
8081

8182
pwm_width = 16
8283

8384
# seesaw firmware (mm1_hat) pwm pin map:
84-
# pwm[0]: pwm[1]: pwm[2]: pwm[3]: pwm[4]: pwm[5]:
85-
# pwm[6]: pwm[7]: pwm[8]: pwm[9]: pwm[10]: pwm[11]:
85+
# pwm[0]:16 pwm[1]:17 pwm[2]:18 pwm[3]:19 pwm[4]:11 pwm[5]:10
86+
# pwm[6]:9 pwm[7]:8 pwm[8]:40 pwm[9]:41 pwm[10]:42 pwm[11]:43
8687
#
8788
pwm_pins = (_MM1_SERVO1, _MM1_SERVO2, _MM1_SERVO3, _MM1_SERVO4,
8889
_MM1_SERVO5, _MM1_SERVO6, _MM1_SERVO7, _MM1_SERVO8,
89-
_MM1_SIGNAL12, _MM1_SIGNAL10, _MM1_SIGNAL11, _MM1_SIGNAL9)
90+
_MM1_D12, _MM1_D10, _MM1_D11, _MM1_D9)
9091

9192
# seesaw firmware touch pin map:
9293
# touch[0]: 7 touch[1]: 6 touch[2]: 5 touch[3]: 4

0 commit comments

Comments
 (0)