Yacer
Newbie
Hello everyone,
Would you please recommend me an appropriate code using "mikroC PRO for PIC" to control this 220V dc motor shown in the schematic below.
What i want to do is to switch in between its two spin directions (either clockwise or counter-clockwise) by pressing and releasing the push button.
I've tried mine using while statement, but it doesn't work the way I actually want,
When I press the push button the motor doesn't change the direction.
I should be most grateful if you would give me some help
Thanks in advance
Would you please recommend me an appropriate code using "mikroC PRO for PIC" to control this 220V dc motor shown in the schematic below.
What i want to do is to switch in between its two spin directions (either clockwise or counter-clockwise) by pressing and releasing the push button.
I've tried mine using while statement, but it doesn't work the way I actually want,
When I press the push button the motor doesn't change the direction.
I should be most grateful if you would give me some help
Thanks in advance