]> Repositories - hackapet/Adafruit_Blinka.git/blobdiff - src/adafruit_blinka/microcontroller/beaglebone_black/pin.py
Use busnum 2 for I2C on BeagleBone Black
[hackapet/Adafruit_Blinka.git] / src / adafruit_blinka / microcontroller / beaglebone_black / pin.py
index 2344c75a35e3546232cf07d42496366d25b78a56..ac20f9585de6f4a8b0f65c74c13e150709577de6 100644 (file)
@@ -129,6 +129,9 @@ USR1 = Pin('USR1')
 USR2 = Pin('USR2')
 USR3 = Pin('USR3')
 
+SCL = Pin('P9_19')
+SDA = Pin('P9_20')
+
 # ordered as spiId, sckId, mosiId, misoId
 spiPorts = ()
 
@@ -138,6 +141,6 @@ uartPorts = (
 )
 
 i2cPorts = (
-    (),
+    (2, SCL, SDA),
 )