Add support for "4-Digit Display (D4056A) by Catalex"
Opened this issue · 2 comments
I have bought LED-Displays with TM1637, Brand "4-Digit Display (D4056A) by Catalex". It seems, with your library displaying floats fails:
display.print("abcd");
works fine
display.print(82.123,0);
works fine. It is shown: "82 "
display.print(82.123,1);
dont work. It is shown: "_0 "
By chance I noticed, that the provider has its own library. Look here: https://drive.google.com/drive/folders/0B6uNNXJ2z4CxQjNKd2dkYU1QOFU?usp=sharing
If possible and permissible I suggest, expanding your arduino-tm1637 library for these displays to. It would be great!
Product-Links
- https://www.aliexpress.com/store/product/D4056B-0-56-LED-4-Digit-Display-Module-with-Clock-Point-for-Arduino-AVR-ARM-PIC/1199788_2027331863.html?spm=2114.12010612.0.0.7ra7lO
- https://www.aliexpress.com/store/product/0-36-4-Digit-LED-Display-Module-with-Decimal-Point-TM1637-Drive-Mini-7-Segment-LED/1199788_32648785549.html?spm=2114.12010612.0.0.xrKE6U
Sorry for my late reply. I already started to make the library much more modular, eventually it should support any seven segment display (at least that's the plan). Hopefully I can find some time to work on the library for a couple days the coming weeks to finish this. I will order the display you mentioned for testing.
For the time being, you could probably work around most issues using some of the advanced or low level methods.