A module for the tm1637 4-digit 7-segment display.
This model displays the current system time on a tm1637 4-digit 7-segment display.
{
"clk_pin": 18,
"dio_pin": 17
}
The following attributes are available for this model:
Name | Type | Inclusion | Description |
---|---|---|---|
clk_pin |
int | Required | The GPIO pin number connected to the clock signal pin of the tm1637. |
dio_pin |
int | Required | The GPIO pin number connected to the data input/output pin of the tm1637. |
TODO: switch from GPIO to Board pin numbers.
This command flashes the current system time for a configurable amount of seconds.
{
"flash_time": {"duration": 5}
}