Skip to content

Commit a007b21

Browse files
authored
Merge pull request #9 from RogueM/commit
PEP8 compliant import
2 parents 5c8f430 + 6a8817e commit a007b21

1 file changed

Lines changed: 6 additions & 1 deletion

File tree

library/cap1xxx.py

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,12 @@
66
CAP1188 - 8 Inputs, 8 LEDs
77
"""
88

9+
import atexit
10+
import signal
11+
import sys
12+
import threading
13+
import time
14+
915
try:
1016
from smbus import SMBus
1117
except ImportError:
@@ -19,7 +25,6 @@
1925
except ImportError:
2026
exit("This library requires the RPi.GPIO module\nInstall with: sudo pip install RPi.GPIO")
2127

22-
import time, signal, atexit, sys, threading
2328

2429
# DEVICE MAP
2530
DEFAULT_ADDR = 0x28

0 commit comments

Comments
 (0)