i have used google, and looked into every single link which is related to a dc motor and an arduino but no luck. Google only has examples of servo connected to arduino and the servo motor is already built in the arduino hardware package so its very easy to use but a dc motor, i dont know.