Revert "Update pin.py"

This commit is contained in:
Melissa LeBlanc-Williams 2019-11-25 14:33:57 -08:00 committed by GitHub
parent 8009b93320
commit 935bd66a7b
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -66,17 +66,10 @@ class Pin:
GPIO.cleanup()
# Cannot be used as GPIO
# before #
#SDA = Pin('GEN1_I2C_SDA')
#SCL = Pin('GEN1_I2C_SCL')
#SDA_1 = Pin('GEN2_I2C_SDA')
#SCL_1 = Pin('GEN2_I2C_SCL')
# after #
SDA = Pin('GEN2_I2C_SDA')
SCL = Pin('GEN2_I2C_SCL')
SDA_1 = Pin('GEN1_I2C_SDA')
SCL_1 = Pin('GEN1_I2C_SCL')
SDA = Pin('GEN1_I2C_SDA')
SCL = Pin('GEN1_I2C_SCL')
SDA_1 = Pin('GEN2_I2C_SDA')
SCL_1 = Pin('GEN2_I2C_SCL')
# These pins are native to TX1
BB03 = Pin('GPIO_X1_AUD')