Expand description
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:
ack
: enables the driver to use theInputPin
trait for theDIO
pin and wait for the acknowledgment signal from the display.defmt
: implementsdefmt::Format
for structs and enums.
Modules§
- Format numbers into byte arrays.
- Mappings for 7-segment display characters.
- Format signed and unsigned integers into byte arrays.
- High-level API for display operations.
str
parsing utilities.- Tokens for the different modes of operation and display orientation.
Structs§
TM1637
7-segment display driver.TM1637
7-segment display builder.
Enums§
- The brightness level.
- An Error type for the
TM1637
driver.