Menu

New OEM library for TM1638 7 seg Display

ToniG
2022-09-25
2022-12-29
  • ToniG

    ToniG - 2022-09-25

    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.

    tmSetLED(1,On) : Wait 500 ms : tmSetLED(1,Off) : Wait 500 ms
    tmSetLED(9,On) : Wait 500 ms : tmSetLED(9,Off) : Wait 500 ms
    

    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
  • ToniG

    ToniG - 2022-09-26

    Command Reference attached

     
  • ToniG

    ToniG - 2022-11-25

    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
  • ToniG

    ToniG - 2022-12-29

    (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

     

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.