The new TM1638_OEM lib is now beta for review & comment.
Please give it a try & see if anything doesn't work as expected.
If anyone has the TM1638 board with the bicolor LED's, you can try setting LED 1 then LED 9, should be the 2 colors. I don't have a board to test.
Commands are the same as TM1637_OEM lib. with some minor difference & addition.
Due to the various hobby boards with different wiring - ComAnode, ComCathode, Reverse digits, buttons weird order.
There is various config needed for each board type, the demo file has detail in the header/config section.
Apologies, I was supposed to updated this post a while ago...
Attached zip with latest files for reference. (the latest GCB release will include these)
This version can control multiple TM1638 displays.
(Sorry for late reply, I didn't get a mail notice for this thread)
All looks good.
1 thing though, the "greatcowbasic.acp" in GCstudio\synwrite\data contains only TM1637, it was updated with TM1637/TM1638 as most commands are identical.
File TM1637_1638 OEM ACP.txt 14.10.2022 07:25 is in file TM1638_OEM_Lib 14-10.zip sent you on 03.12.2022
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
The new TM1638_OEM lib is now beta for review & comment.
Please give it a try & see if anything doesn't work as expected.
If anyone has the TM1638 board with the bicolor LED's, you can try setting LED 1 then LED 9, should be the 2 colors. I don't have a board to test.
Commands are the same as TM1637_OEM lib. with some minor difference & addition.
Due to the various hobby boards with different wiring - ComAnode, ComCathode, Reverse digits, buttons weird order.
There is various config needed for each board type, the demo file has detail in the header/config section.
help file will follow...
Demo vid can see here... https://youtu.be/d9JJfMm3DvM
The attached file may be updated (Orig: TM1638_OEM_Lib 2022-09-25)
Last edit: ToniG 2022-09-26
Command Reference attached
Apologies, I was supposed to updated this post a while ago...
Attached zip with latest files for reference. (the latest GCB release will include these)
This version can control multiple TM1638 displays.
Last edit: ToniG 2022-11-25
@Toni
Can you check https://github.com/GreatCowBASIC/Demonstration_Sources/tree/main/7_Segment_LED_Solutions/7_Segment_TM1638_OEM_Solutions
Any files to be purged?
(Sorry for late reply, I didn't get a mail notice for this thread)
All looks good.
1 thing though, the "greatcowbasic.acp" in GCstudio\synwrite\data contains only TM1637, it was updated with TM1637/TM1638 as most commands are identical.
File TM1637_1638 OEM ACP.txt 14.10.2022 07:25 is in file TM1638_OEM_Lib 14-10.zip sent you on 03.12.2022