JadKHaddad / tm1637

tm1637 7-segment display driver for embedded rust

Home Page:https://crates.io/crates/tm1637-embedded-hal

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

TM1637

A platform agnostic driver to interface with the TM1637 (7-segment display) using the embedded-hal and embedded-hal-async traits.

Features

The following features are available:

  • blocking: enables blocking functionality.
  • async: enables asynchronous functionality.
  • impl-debug: implements core::fmt::Debug for structs and enums.
  • impl-defmt-format: implements defmt::Format for structs and enums.
  • mappings: enables the mappings module.
  • demo: enables the demo module.
  • disable-checks: disables bound checks while writing to the display. When enabled, positions greater than available positions on the display will be written to the display regardless, causing more delay than needed. Enable this feature only if you are sure about the positions you are writing to.

Usage

See examples directory or visit wokwi.com.

example

Other Repositories

License

Licensed under either of

Contribution

Unless you explicitly state otherwise, any contribution intentionally submitted for inclusion in the work by you, as defined in the Apache-2.0 license, shall be dual licensed as above, without any additional terms or conditions.

About

tm1637 7-segment display driver for embedded rust

https://crates.io/crates/tm1637-embedded-hal

License:Apache License 2.0


Languages

Language:Rust 100.0%