Control DC motor operating time

Status
Not open for further replies.

mjklein

Newbie level 3
Joined
Jan 12, 2010
Messages
4
Helped
0
Reputation
0
Reaction score
0
Trophy points
1,281
Activity points
1,309
Hi.I'm new member here.I'm facing problem with controlling the DC geared motor rotating time as using C language programming. How to i delay the motor operating time till 5seconds? Below is the example of backward motor operating method as i use motor driver L293D.


en12 = 1;
in1 = 0;
in2 = 1; //backward

Let me know if i miss out some information.
I will appreciate for whom can help me.Thanks a lot.Cheers.
 

Status
Not open for further replies.
Cookies are required to use this site. You must accept them to continue using the site. Learn more…