fix I2C constants

This commit is contained in:
helgibbons 2022-11-16 14:12:12 +00:00
parent 660fcea744
commit 6eb62b1a67
1 changed files with 2 additions and 2 deletions

View File

@ -51,9 +51,9 @@ Plasma Stick uses GP4 and GP5 for its I2C interface. You can use the constants i
```python
from pimoroni_i2c import PimoroniI2C
from pimoroni import PINS_BREAKOUT_GARDEN
from pimoroni import BREAKOUT_GARDEN_I2C_PINS
i2c = PimoroniI2C(**PINS_BREAKOUT_GARDEN)
i2c = PimoroniI2C(**BREAKOUT_GARDEN_I2C_PINS)
```
Alternatively, you can specify the pin numbers directly: