I have a problem that is the following:
I have to control a servo motor between 3 positions, and i already can make the PWM signals to make the servo motor go to this 3 positions but i want to if i press one of two buttons the servo go to 1 position and when i drop the button the servo motor go to a default position and is the same for the other button, when i press go to the defined position and when i drop the button go to the default position!
And i make a logic circuit with the AND, XOR gates to control this process and doesnt work, someone can give a opinion or other path to make this idea ?
Thank you.
I have to control a servo motor between 3 positions, and i already can make the PWM signals to make the servo motor go to this 3 positions but i want to if i press one of two buttons the servo go to 1 position and when i drop the button the servo motor go to a default position and is the same for the other button, when i press go to the defined position and when i drop the button go to the default position!
And i make a logic circuit with the AND, XOR gates to control this process and doesnt work, someone can give a opinion or other path to make this idea ?
Thank you.
Attachments
-
26.2 KB Views: 21
