]> Repositories - Adafruit_Blinka-hackapet.git/blobdiff - src/adafruit_blinka/microcontroller/beaglebone_black/pin.py
add I2C bus support for the BeagleBone Black
[Adafruit_Blinka-hackapet.git] / src / adafruit_blinka / microcontroller / beaglebone_black / pin.py
index 2344c75a35e3546232cf07d42496366d25b78a56..8e9a46b5304e660d3b4c9a23da6931e2a0a2d585 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 = (
-    (),
+    (1, SCL, SDA),
 )