I'm starting a project controlling the tilt of a surface over two axis with servo motors, I just bought an arduino mega to control the motors and i want to be able to feed them realtime info generated by my computer. I have found lots of stuff about the servo control part but I'm finding it harder to get info on feeding the arduino info from a PC in real time! I'm not sure what kind of data i can feed. Any advice would be vary much appreciated.
Search for zoomkat's servo driver example.
I'm finding it harder to get info on feeding the arduino info from a PC in real time!
You would develop/use some application on the pc side to send the arduino the desired data via serial communication (usually a USB connection between the pc and arduino).