Skip to content

A platform agnostic driver to a LED-display powered by the TM1637 chip

License

Notifications You must be signed in to change notification settings

igelbox/tm1637-rs

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

TM1637

A lightweight platform-agnostic driver to a LED-display powered by the TM1637 chip

crates.io Released API docs

Features

  • Formatting number as HEX-digits
  • Controlling each particular segment using a bitmask
  • Brightness control
  • Low ROM usage, e.g. the working example features using the following config take 488* additional bytes:
[profile.release]
codegen-units = 1
debug = true
lto = true
opt-level = 'z'

* 580 bytes in case if the real HAL delay is used.

Working Example

A simple example using a 4-digit LED-display is located here.

BTW, it could be built and flashed into STM32C8T6 (Blue-Pill) using Visual Studio Code. All required extensions are listed here.

License

Licensed under MIT license (LICENSE or http://opensource.org/licenses/MIT)

About

A platform agnostic driver to a LED-display powered by the TM1637 chip

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages