Okay, I've added a power source, and coupled the grounds. I'm running the code the same as before. The lights and motor are as before.
I'm not too sure what the sweep is, I don't see any example folder with it in, if it is a type of sketch.
Does this circuit look capable of running the servo more correctly?
