How to write code for an Arduino with the Arduino motor shield.
What would the code for an Arduino, with the Arduino motorsheild, look like to run a 6V 300 mA DC motor? I want to stop and start the motor at a certain frequency (I don't have to reverse the direction of the motor). For example at every 5 minute interval I want it to run the motor for 2 minutes and stop it for 3 minutes. Any help or advice is appreciated thanks.