Skip to content

Commit 574f941

Browse files
committed
Linting.
1 parent 67cef21 commit 574f941

File tree

2 files changed

+3
-4
lines changed

2 files changed

+3
-4
lines changed

examples/crickit_multi_example.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
11
# This is a mock example showing typical usage of the library for each kind of device.
22

3-
from adafruit_crickit import crickit
4-
53
# Add this import if using stepper motors.
64
# It will expose constants saying how to step: stepper.FORWARD, stepper.BACKWARD, etc.
75
from adafruit_motor import stepper
86

7+
from adafruit_crickit import crickit
8+
99
# Set servo 1 to 90 degrees
1010
crickit.servo_1.angle = 90
1111

examples/crickit_stepper_motor_simpletest.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,8 @@
11
# Crickit library demo - stepper motor
22

33
import time
4-
5-
from adafruit_crickit import crickit
64
from adafruit_motor import stepper
5+
from adafruit_crickit import crickit
76

87
# Step motor forward and then backward.
98
while True:

0 commit comments

Comments
 (0)