Update code.py

change comment to match angle used
This commit is contained in:
Mike Barela 2018-07-12 09:26:29 -04:00 committed by GitHub
parent 328752ffb1
commit bb6ab0b5c4
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -24,7 +24,7 @@ pixels.fill(0x0099FF)
while True:
print("Hello world!")
play_file("hello.wav") # play Hello World WAV file
crickit.servo_1.angle = 75 # Set servo angle to 45 degrees
crickit.servo_1.angle = 75 # Set servo angle to 75 degrees
time.sleep(1.0) # do nothing for a 1 second
crickit.servo_1.angle = 135 # Set servo angle to 135 degrees
time.sleep(1.0) # do nothing for a 1 second