User Manual
More Servos!
OK that was fun but you want MORE servos right? You can control up to four! The servos are on the seesaw pins 17
(CIRCKIT_SERVO1), 16 (CIRCKIT_SERVO2), 15 (CIRCKIT_SERVO3), 14 (CIRCKIT_SERVO4)
This example is similar to the 1 servo example, but instead of creating one myservo object, we'll make an array called
servos that contains 4 servo objects. Then we can assign them using servo[0].write(90); or iterate through them as
we do in the loop. You don't
have
to do it this way, but its very compact and doesn't take a lot of code lines to create
all 4 servos at once!
Are your servos not moving a full 180 degrees? Don't fret! This is normal, see below about min/max pulse
lengths to 'tune' your servo!
© Adafruit Industries
https://learn.adafruit.com/adafruit-crickit-creative-robotic-interactive-
construction-kit
Page 172 of 201










