I did, but I didn't catch the significance of the second part. Thanks for pointing me to the right spot.
For any other newcomers struggling with this, see Chris' 8th post in that thread, which reads
That info isn't in the documentation with the Servo2 library, at least not that I've found, and I hope it helps anyone else using this.
But my servo still doesn't move.
It does move when I use my 'Silent' program (no Tone library or speaker, Servo1 library), so the servo motor and connection appear good. I'm using the code Chris posted, with the change of Servo1 to myServo (matching the term in the tutorial):
#include <ServoTimer2.h>
// create an instance of the Servo library
ServoTimer2 myServo;
and, under void setup
// attach the servo to pin 9
myServo.attach(9);
// move the servo to the locked position
myServo.write(map(0, 0, 180, MIN_PULSE_WIDTH, MAX_PULSE_WIDTH));
delay(500);
and under void loop
myServo.write(map(90, 0, 180, MIN_PULSE_WIDTH, MAX_PULSE_WIDTH));
delay(4000); // allow time for person to actually Open the door
I've tried 180 under the map function, and different delay times, and I keep going over the code, but I don't see what causes the trouble. What am I missing?