i want code of servo motor to work when i turn on leds in bluetooth rc controler app on android ,in this way ,servo will turn 90 degree when led on ,and when led turn of servo rotate 90 in other direction..servo is connected by SH.L293D ,,plz help me
wait, wiat, what led where is it? "when led is on" isn't clear. Also, L293D only has no control over motor's position (90 degrees). It just tells the motor to spin faster or slower or stop, in any direction.
If you give more details about what you want your to do, how you want it to work, maybe someone will clearly understand