Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Binary file modified .DS_Store
Binary file not shown.
Binary file modified assignments/.DS_Store
Binary file not shown.
Original file line number Diff line number Diff line change
Expand Up @@ -106,7 +106,7 @@ Connect the Chainable LED to pin `D10`, the Servo Motor to pin `D12` and the Tou

if touch.value == False:
print("sleeping 😴")
# Make a call to the library and request the desired of our LED
# Make a call to the library and request the desired brightness of our LED
position_led, running_led, changed_led = vs_led.sequence(sequence=led_sequence_sleep, loop_max=led_looping)

# See if the values changed for the next move, then do so
Expand All @@ -118,7 +118,7 @@ Connect the Chainable LED to pin `D10`, the Servo Motor to pin `D12` and the Tou
leds.fill((0, 0, 0, led_value))
leds.show()

# Make a call to the library and request the desired of our servo motor
# Make a call to the library and request the desired position of our servo motor
position_servo, running_servo, changed_servo = vs_servo.sequence(sequence=servo_sequence_sleep,
loop_max=servo_looping)

Expand All @@ -129,7 +129,7 @@ Connect the Chainable LED to pin `D10`, the Servo Motor to pin `D12` and the Tou

elif touch.value == True:
print("angry!!! 😡")
# Make a call to the library and request the desired of our LED
# Make a call to the library and request the desired brightness of our LED
position_led, running_led, changed_led = vs_led.sequence(sequence=led_sequence_angry, loop_max=led_looping)

# See if the values changed for the next move, then do so
Expand All @@ -141,7 +141,7 @@ Connect the Chainable LED to pin `D10`, the Servo Motor to pin `D12` and the Tou
leds.fill((led_value, 0, 0))
leds.show()

# Make a call to the library and request the desired of our servo motor
# Make a call to the library and request the desired position of our servo motor
position_servo, running_servo, changed_servo = vs_servo.sequence(sequence=servo_sequence_angry,
loop_max=servo_looping)

Expand Down
Loading