www-unicorn/pyboard_demos.py: Use I2C('X') for LCD I2C demo.

Signed-off-by: Damien George <damien@micropython.org>
This commit is contained in:
Damien George
2022-10-31 13:29:08 +11:00
parent 537518db95
commit 8286116877

View File

@@ -119,9 +119,7 @@ servo.angle(90, 5000)
import machine
import framebuf
scl = machine.Pin('X9')
sda = machine.Pin('X10')
i2c = machine.I2C(scl=scl, sda=sda)
i2c = machine.I2C('X')
fbuf = framebuf.FrameBuffer(bytearray(64 * 32 // 8), 64, 32, framebuf.MONO_HLSB)