micropython-tm1637 icon indicating copy to clipboard operation
micropython-tm1637 copied to clipboard

Add support for leading zeros in number function

Open yamenk-gribaudo opened this issue 2 years ago • 2 comments

Add optional arguments to number function to allow leading ceros.

yamenk-gribaudo avatar Jul 02 '23 13:07 yamenk-gribaudo

Thanks for the contribution. Ceros, is that Spanish? I was also experimenting with this idea, and how to better support decimal places / floating point on displays that support it. Most of my displays use clock-style LEDs (88:88), with no decimal places. Only my Robotdyn module uses decimal-style LEDs (8.8.8.8.) with decimal places after each digit but no colon : in the middle.

mcauser avatar Jul 03 '23 00:07 mcauser

Thanks for the contribution. Ceros, is that Spanish? I was also experimenting with this idea, and how to better support decimal places / floating point on displays that support it. Most of my displays use clock-style LEDs (88:88), with no decimal places. Only my Robotdyn module uses decimal-style LEDs (8.8.8.8.) with decimal places after each digit but no colon : in the middle.

Yes, thats spanish, guess I really never wrote that word before :p Fixed!

yamenk-gribaudo avatar Jul 04 '23 20:07 yamenk-gribaudo