Skip to content

Commit 666ff43

Browse files
author
root
committed
removed debug - added note that it was modified by adafruit
1 parent 4aa5072 commit 666ff43

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Adafruit_MCP230xx/Adafruit_MCP230xx.py

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
#!/usr/bin/python
22

3-
# Copyright 2012 Daniel Berlin
3+
# Copyright 2012 Daniel Berlin (with some changes by Adafruit Industries/Limor Fried)
44
#
55
# Permission is hereby granted, free of charge, to any person obtaining a copy of
66
# this software and associated documentation files (the "Software"), to deal MCP230XX_GPIO(1, 0xin
@@ -43,7 +43,7 @@ class Adafruit_MCP230XX(object):
4343

4444
def __init__(self, busnum, address, num_gpios):
4545
assert num_gpios >= 0 and num_gpios <= 16, "Number of GPIOs must be between 0 and 16"
46-
self.i2c = Adafruit_I2C(address, smbus.SMBus(busnum), True)
46+
self.i2c = Adafruit_I2C(address, smbus.SMBus(busnum))
4747
self.address = address
4848
self.num_gpios = num_gpios
4949

0 commit comments

Comments
 (0)