A platform agnostic driver to interface with the TM1637
(7-segment display) using the embedded-hal
and embedded-hal-async
traits.
The following features are available:
blocking
: enables blocking functionality.async
: enables asynchronous functionality.impl-debug
: implementscore::fmt::Debug
for structs and enums.impl-defmt-format
: implementsdefmt::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.
See examples directory or visit wokwi.com.
See demo.
Rust
generic-tm1637-gpio-driver-rustRust
tm1637-rsC
TM1637-DriverArduino
TM1637
Licensed under either of
- Apache License, Version 2.0. LICENSE-APACHE or Apache-2.0 license
- MIT license. LICENSE-MIT or MIT license
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.