Servo stalls(?) on Arduino IDE sketch "Sweep", what could be wrong?

Crap, didn't realize the arduino ground needed to be involved. It works now, thanks. I didn't damage anything By not connecting the ground did I?