Skip to content

TM1637 driver for ESP32 for 7-segment displays with decimal points

License

Notifications You must be signed in to change notification settings

AramVartanyan/esp_tm1637

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

17 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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:

About

TM1637 driver for ESP32 for 7-segment displays with decimal points

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published