Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/adafruit/Adafruit-Motor-Shield-library.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLadyada <limor@ladyada.net>2011-04-14 00:15:49 +0400
committerLadyada <limor@ladyada.net>2011-04-14 00:15:49 +0400
commit3a4bad11ffe469ead62c48ca080ec7f84db35c6b (patch)
tree252a1f0b6822371e4e4e3f651e11bdf2f5e15002
parentd2ffa1973282686b85dc4d890947b0587d23ea94 (diff)
Fixed to use built in Servo library
-rw-r--r--examples/MotorParty/MotorParty.pde4
1 files changed, 2 insertions, 2 deletions
diff --git a/examples/MotorParty/MotorParty.pde b/examples/MotorParty/MotorParty.pde
index 826cf46..2c3c5a5 100644
--- a/examples/MotorParty/MotorParty.pde
+++ b/examples/MotorParty/MotorParty.pde
@@ -3,12 +3,12 @@
// this code is public domain, enjoy!
#include <AFMotor.h>
-#include <ServoTimer1.h>
+#include <Servo.h>
// DC motor on M2
AF_DCMotor motor(2);
// DC hobby servo
-ServoTimer1 servo1;
+Servo servo1;
// Stepper motor on M3+M4 48 steps per revolution
AF_Stepper stepper(48, 2);