Skip to content

Commit 0dfa099

Browse files
committed
comment out sometimes-unused import
1 parent ce2a503 commit 0dfa099

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

CPB_Keybutton_BLE/code.py

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,9 @@
99
"""
1010
import time
1111
import board
12-
from digitalio import DigitalInOut, Direction, Pull
12+
from digitalio import DigitalInOut, Direction
13+
# Uncomment if setting .pull below.
14+
# from digitalio import Pull
1315

1416
import adafruit_ble
1517
from adafruit_ble.advertising import Advertisement
@@ -32,7 +34,8 @@
3234
button_4.direction = Direction.INPUT
3335
button_5.direction = Direction.INPUT
3436

35-
# NOTE: If you are not using buttons with built-in pullups, uncomment the five lines below.
37+
# NOTE: If you are not using buttons with built-in pullups, uncomment the five lines below,
38+
# and the `from digitalio import Pull` above.
3639
# button_1.pull = Pull.UP
3740
# button_2.pull = Pull.UP
3841
# button_3.pull = Pull.UP

0 commit comments

Comments
 (0)