Skip to content

Commit

Permalink
digitalio: Initialize direction to INPUT
Browse files Browse the repository at this point in the history
None is an invalid direction
  • Loading branch information
jepler committed Jan 2, 2020
1 parent 30faf0a commit 02d28bc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion adafruit_seesaw/digitalio.py
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ def __init__(self, seesaw, pin):
self._seesaw = seesaw
self._pin = pin
self._drive_mode = digitalio.DriveMode.PUSH_PULL
self._direction = False
self._direction = digitalio.Direction.INPUT
self._pull = None
self._value = False

Expand Down

0 comments on commit 02d28bc

Please sign in to comment.