Dear,
I have a problem to interfacing DGS05NF STD servo motor with ATmega32. I want to move "Robotic Claw - MKII" using "DGS05NF STD servo motor" with ATmega32. I have complete a program for this purpose. But there is a problem. My program execute in PROTEUS correctly. In practical , the motor rotate in 0 to 180 degree , only one when i power in. Here i used while loop, but it don't repeat the action. Actually it does not follow my instruction.
In my code, i want , while i pressed a switch, then the servo rotate a direction (until i pressed the switch). Similarly while i pressed another switch, the the servo rotate opposite direction.