4-digit LED (TM1637) library for Armbian + Linux

Recommended Posts

I just released a new C library for communicating with those inexpensive 4-digit 7-segment LED displays:




They can run on 3.3V or 5V and draw between 1 and 15mA depending on the brightness setting. I purchased mine from an AliExpress vendor for 68 cents each with free shipping.

They use a custom 2-wire communications protocol and must be "bit-banged" from 2 GPIO pins. In my demo, I assign pins 38 and 40 on my Orange Pi Lite.



Link to post
Share on other sites
Donate and support the project!


First at all, thank you for this.

Orange Pi +2e + Armbian Debian GNU/Linux 10.

When i run demo i have this error:

Unrecognized board type, aborting...
Problem initializing ArmbianIO library

Pins connected to +5Vcc, pins 3 (SDA) y 5 (SCL).

What i'm doing wrong?


Thanks in advance.

Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.