Need help with a project involving a dc motor

Thank you so much. I will not be able to test the code until tomorrow when I am back in the studio unfortunately my schools studio closes at 2:00 am I will post back letting you know how it worked out. This sounds like it is exactly what I am looking for. I appreciate it. Thanks again : )