Jump to content

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


Larry Bank

Recommended Posts

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

 

https://github.com/bitbank2/tm1637

 

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.

 

display.jpg

Link to comment
Share on other sites

Hi.

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 comment
Share on other sites

Guest
This topic is now closed to further replies.
×
×
  • Create New...

Important Information

Terms of Use - Privacy Policy - Guidelines