Hi All,
First, thank you for your time.
I have an Arduino UNO R3 with a Cytron MD10C R2. The buttons run the motor nicely. The source code on the MD10C runs the motor in both directions as it should. I would like to ask for code that runs the motor for a specific time or number of revolutions, assuming revolutions would negate an encoder, time based code would be optimal. I will trigger the start of the motor with a switched (digital) input, the motor will run for a specific time and stop, upon reset of the board I would like to run the motor in the reverse direction for the same time interval so as to get back to it's position at start of program. Any assistance would be greatly appreciated.