-
-
Save JeffersGlass/66bd6fab908a47724fcfbea44288a3d2 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
from gpiozero import Servo | |
from time import sleep | |
#Change this pin to GPIO pin of the Servo to control | |
leftEyebrow = Servo(21) | |
rightEyebrow = Servo(20) | |
while(True): | |
leftEyebrow.max() | |
rightEyebrow.min() | |
sleep(1) | |
leftEyebrow.min() | |
rightEyebrow.max() | |
sleep(1) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment