Skip to content

Commit 06e89a8

Browse files
authored
Merge pull request adafruit#16 from dhalbert/fix_reversed_servo_pins
accidentally reversed servo pin ordering
2 parents bf80803 + 668ad77 commit 06e89a8

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

adafruit_seesaw/crickit.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,6 +44,7 @@
4444
_CRICKIT_MOTOR1B = const(23)
4545
_CRICKIT_MOTOR2A = const(19)
4646
_CRICKIT_MOTOR2B = const(18)
47+
4748
_CRICKIT_DRIVE1 = const(13)
4849
_CRICKIT_DRIVE2 = const(12)
4950
_CRICKIT_DRIVE3 = const(43)
@@ -62,7 +63,7 @@ class Crickit_Pinmap:
6263

6364
pwm_width = 16
6465

65-
pwm_pins = (_CRICKIT_SERVO1, _CRICKIT_SERVO2, _CRICKIT_SERVO3, _CRICKIT_SERVO4,
66+
pwm_pins = (_CRICKIT_SERVO4, _CRICKIT_SERVO3, _CRICKIT_SERVO2, _CRICKIT_SERVO1,
6667
_CRICKIT_MOTOR1A, _CRICKIT_MOTOR2A,
6768
_CRICKIT_MOTOR1B, _CRICKIT_MOTOR2B,
6869
_CRICKIT_DRIVE1, _CRICKIT_DRIVE2,

0 commit comments

Comments
 (0)