From 6eb62b1a67c8448bd28957ecdbf18a3b9a67f61a Mon Sep 17 00:00:00 2001 From: helgibbons <50950368+helgibbons@users.noreply.github.com> Date: Wed, 16 Nov 2022 14:12:12 +0000 Subject: [PATCH] fix I2C constants --- micropython/examples/plasma_stick/README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/micropython/examples/plasma_stick/README.md b/micropython/examples/plasma_stick/README.md index 22374e62..34ec4f6c 100644 --- a/micropython/examples/plasma_stick/README.md +++ b/micropython/examples/plasma_stick/README.md @@ -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: