]> Repositories - Adafruit_Blinka-hackapet.git/commitdiff
Update pin.py
authortwa127 <46624596+twa127@users.noreply.github.com>
Mon, 2 Nov 2020 14:29:07 +0000 (14:29 +0000)
committerGitHub <noreply@github.com>
Mon, 2 Nov 2020 14:29:07 +0000 (14:29 +0000)
Add support for Banana Pi M2 Zero pins PL2 and PL4

src/adafruit_blinka/microcontroller/allwinner/h3/pin.py

index 9be7d1a666c3d92d5028dd24a9e0202565995b3b..0bed0510fc85bb4de8f7d9703cf324fa3a66c12e 100644 (file)
@@ -55,6 +55,8 @@ PG11 = Pin(203)
 PG12 = Pin(204)
 PG13 = Pin(205)
 
+PL2 = Pin((1, 2))
+PL4 = Pin((1, 4))
 
 i2cPorts = ((0, TWI0_SCL, TWI0_SDA),)
 # ordered as spiId, sckId, mosiId, misoId