Browse Source

tm1637: add additional zero value to disable a display

Helmut Pozimski 1 year ago
parent
commit
adc3da85c1
1 changed files with 2 additions and 1 deletions
  1. 2 1
      main/tm1637.h

+ 2 - 1
main/tm1637.h

@@ -24,7 +24,8 @@ static const uint16_t NUMERALS[] = {
 	0x7d,
 	0x07,
 	0x7f,
-	0x6f
+	0x6f,
+	0x00
 };
 
 esp_err_t tm1637_init(tm1637_config* config, uint8_t clk_pint, uint8_t dio_pin, bool show_colon, uint8_t brightness);