I have a Servo motor and I am able to perform operations with no issues.
I connect my power supply, and the motor rotates to 90 degrees (if it was not at 90 degrees initially).
My problem is, I want the motor to rotate back to 0 degrees when the power supply is cut off. I know I will need another power supply to do this in the end (maybe a battery), but I am confused as to how to do it.
How can I do this?