Skip to content

Commit 12b02c0

Browse files
author
Your Name
committed
oops fixed collision on busnum - lets have it only set in the i2c file eh?
1 parent f708b97 commit 12b02c0

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

Adafruit_CharLCDPlate/Adafruit_CharLCDPlate.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,8 +11,7 @@
1111
from Adafruit_MCP230xx import Adafruit_MCP230XX
1212
import smbus
1313

14-
# change busnum = 0 to bbusnum = 1 if you have a rev 2 Pi!
15-
mcp = Adafruit_MCP230XX(busnum = 0, address = 0x20, num_gpios = 16)
14+
mcp = Adafruit_MCP230XX(address = 0x20, num_gpios = 16)
1615

1716
class Adafruit_CharLCD:
1817

0 commit comments

Comments
 (0)