Skip to content
This repository was archived by the owner on Sep 30, 2019. It is now read-only.

Commit 12b02c0

Browse files
author
Your Name
committedDec 26, 2012
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
 

Diff for: ‎Adafruit_CharLCDPlate/Adafruit_CharLCDPlate.py

+1-2
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)
This repository has been archived.