MarginallyClever / GcodeCNCDemo

a simple example of making a CNC machine from an Adafruit Motor Shield
213 stars 133 forks source link

Adding Servo? #25

Open Jaco-C opened 6 years ago

Jaco-C commented 6 years ago

Hi I'd like to know how to add a simple servo to the GcodeCNCDemo4axisV2 code. Any help would be much appreciated

i-make-robots commented 6 years ago

The Adafruit motor shield v2 has two dedicated servos on pins 9 and 10. Use the default Servo.h library. If you add the changes, please send a pull request.