Thanks guys.
Like I said, I'm completely new in this field of technology.
What I want to do specifically is have a motor spin so that it moves something attached to it from fully upright to fully down, so around 180 degrees. Specifically, sort of like a bird's wings during flying for comparison. I will look into a servo. I also want it to be completely autonomous. How would I go about that? I wish to be able to press a button then have it do the up,down,up, etc moving on its own until i turn the switch off. What kind of programmable technology would i need? Or any other suggestions?
I've been researching this for a bit and its hard to know exactly what to search for, especially for someone unexperienced like me. Thanks.