Could some one please give me a code for this.
Every time, the value of the flex sensor reduces by 5k I want a dc geared motor to spin for .5 sec and for every 5k increase, it must pin in anti clock wise directioni for .5 sec.
What I really want my motor to do is to rotate as the analog values drop from 225 to 103.
"Do you know how to make things happen for specific periods of time?"Without Delay? No, I don't. Could you please let me know how to do it.
I want my motor to rotate as the analog values drop from 225 to 103.Stepper Motor Could have been a better choice. But I already had this geared DC motor. So I thought of making it with this motor. Is it not possible to do with with a DC motor? (Not even with While or do while)