I want to write a script in python so that a servo motor can turn a light switch on and off [closed]

I need the servo motor to turn one way then go back and then when given another command turn the opposite to shut the light off. How can this be done.

Read more here: https://stackoverflow.com/questions/64940157/i-want-to-write-a-script-in-python-so-that-a-servo-motor-can-turn-a-light-switch

Content Attribution

This content was originally published by Python at Recent Questions - Stack Overflow, and is syndicated here via their RSS feed. You can read the original post over there.

%d bloggers like this: