tm1637-embedded-hal

Crates.iotm1637-embedded-hal
lib.rstm1637-embedded-hal
version0.4.0
sourcesrc
created_at2024-05-06 17:59:02.389747
updated_at2024-09-28 08:09:18.976083
descriptionA platform agnostic driver to interface with the TM1637 (7-segment LED display) using embedded-hal.
homepage
repositoryhttps://github.com/JadKHaddad/tm1637
max_upload_size
id1231330
size59,484
Jad K. Haddad (JadKHaddad)

documentation

README

TM1637

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

"ruSt" on a 4-digit display

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.
  • formatters: enables the number formatting 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

Demo

See demo.

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.

Commit count: 119

cargo fmt