Skip to content

Latest commit

 

History

History
57 lines (36 loc) · 1.56 KB

README.md

File metadata and controls

57 lines (36 loc) · 1.56 KB

ESP TM1637

ESP32 esp-idf Library for 7-segment LED Display modules with TM1637 chip on board

Description

This library supports 4-digits and 6-digits modules with decimal points. Not yet tested, but it should work with ESP8266_RTOS_SDK and under esp-open-rtos as well.

TM1637

TM1637

TM1637

It takes care automatically for float numbers and displays positive or negative numbers with maximum possible signs after the decimal point.

The usage is simple as importing this raw in the main application:

tm1637_print_float(Display, FloatValue);

TM1637

TM1637

Print string of characters based on ASCII code is possible by using the following example:

tm1637_print_string(Display, "Auto");

TM1637

Another useful function is for printing temperature values.

tm1637_print_temp(Display, IntValue);

For example a temperature value multiplied by 10 (e.g. 242) is displayed as:

TM1637

It also supports functions for testing segments, cleaning display, printing raw data etc.

References and Credit

This library is based on:

You can find such modules at: