fix pins of added servos

master
Cole Deck 2 years ago
parent fc3870c5ba
commit 5d0571abfa

@ -127,8 +127,8 @@ class Hexapod(Thread):
correction=self.config.get('leg0Offset', [0, 0, 0]), scale=self.config.get('leg0Scale', [1, 1, 1])),
# center right
Leg(1,
[self.pca_left.servo[6], self.pca_left.servo[7],
self.pca_left.servo[8]],
[self.pca_left.servo[8], self.pca_left.servo[7],
self.pca_left.servo[6]],
correction=self.config.get('leg1Offset', [0, 0, 0]), scale=self.config.get('leg1Scale', [1, 1, 1])),
# rear right
Leg(2,

Loading…
Cancel
Save