Thanks to visit codestin.com Credit goes to github.com
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e3b38fa commit 9d66b78Copy full SHA for 9d66b78
Adafruit_GPIO/I2C.py
@@ -27,9 +27,6 @@
27
import Adafruit_GPIO.Platform as Platform
28
29
30
-logger = logging.getLogger(__name__)
31
-
32
33
def reverseByteOrder(data):
34
"""Reverses the byte order of an int (16-bit) or long (32-bit) value."""
35
# Courtesy Vishal Sapre
@@ -64,7 +61,6 @@ class Device(object):
64
61
"""Class for communicating with an I2C device using the smbus library.
65
62
Allows reading and writing 8-bit, 16-bit, and byte array values to registers
66
63
on the device."""
67
- logger = logging.getLogger(__name__)
68
def __init__(self, address, busnum):
69
"""Create an instance of the I2C device at the specified address on the
70
specified I2C bus number."""
0 commit comments