Approved content

The content below is provided by a partner.

makecode-extensions/i2clcd1602 1.5.0 GitHub

i2cLCD1602

makecode I2C LCD1602 package for micro:bit

Author: shaoziyang
Date: 2018.Mar

Add extension

open your microbit makecode project, in Extension, paste

https://github.com/makecode-extensions/i2cLCD1602

to search box then search.

Basic usage

let item = 0
I2C_LCD1602.LcdInit(0)
I2C_LCD1602.ShowString("Hello", 0, 0)
basic.forever(() => {
    item += 1
    I2C_LCD1602.ShowNumber(item, 0, 1)
    basic.pause(1000)
})

I2C Address

API

Demo

License

MIT

Copyright (c) 2018, microbit/micropython Chinese community

Supported targets

From microbit/micropython Chinese community

i2cLCD1602=github:makecode-extensions/i2clcd1602#v1.5.0