Added I2C defines

This commit is contained in:
ZodiusInfuser 2021-08-24 16:06:44 +01:00
parent d8d0a538c0
commit f92d35a014
1 changed files with 1 additions and 1 deletions

View File

@ -57,7 +57,7 @@ button_a = Button(plasma2040.BUTTON_A, repeat_time=0)
button_b = Button(plasma2040.BUTTON_B, repeat_time=0)
led = RGBLED(plasma2040.LED_R, plasma2040.LED_G, plasma2040.LED_B)
PINS_PLASMA2040 = {"sda": 20, "scl": 21}
PINS_PLASMA2040 = {"sda": plasma2040.SDA, "scl": plasma2040.SCL}
i2c = PimoroniI2C(**PINS_PLASMA2040)
bme = BreakoutBME68X(i2c)