microbit-lib

Four Digit Display TM1650/HBS650 drive

Four Digit Display is a Module with four 7-segment LED, it can show number. It has TM1650 chip inside, control with a I2C bus.

I2C Address

command Display
0x24 0x34 - 0x37

API

example

from microbit import *
import FourDigitDisplay

fdd = FourDigitDisplay.FourDigitDisplay()

n = 0
while 1:
    fdd.shownum(n)
    n += 1
    sleep(1000)

From microbit/micropython Chinese community.