Skip to content

Commit

Permalink
Linting.
Browse files Browse the repository at this point in the history
  • Loading branch information
kattni committed Aug 3, 2018
1 parent 67cef21 commit 574f941
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 4 deletions.
4 changes: 2 additions & 2 deletions examples/crickit_multi_example.py
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
# This is a mock example showing typical usage of the library for each kind of device.

from adafruit_crickit import crickit

# Add this import if using stepper motors.
# It will expose constants saying how to step: stepper.FORWARD, stepper.BACKWARD, etc.
from adafruit_motor import stepper

from adafruit_crickit import crickit

# Set servo 1 to 90 degrees
crickit.servo_1.angle = 90

Expand Down
3 changes: 1 addition & 2 deletions examples/crickit_stepper_motor_simpletest.py
Original file line number Diff line number Diff line change
@@ -1,9 +1,8 @@
# Crickit library demo - stepper motor

import time

from adafruit_crickit import crickit
from adafruit_motor import stepper
from adafruit_crickit import crickit

# Step motor forward and then backward.
while True:
Expand Down

0 comments on commit 574f941

Please sign in to comment.