TM1638 GCBasic Common_Anode Display

TM1638 GCBasic Common_Anode Display

Tonigau

54 года назад

97 Просмотров

In reference to this short vid, https://youtu.be/FOhTs2_JT_A
The board has Common Anode display so segment pins drive the digit commons & Grid(com) pins drive the segment bus.

Here I have modified the serial message processor sub to transpose display buffer bytes to TM1638 Registers.
Code is Great Cow Basic, displaying "12345670". It's backward due to the board has reverse wired digits!
Only digits 1-8 work with this test code, think its better to transpose bits to a 16 byte buffer & sent sequential addr mode (40h).

This line Tmp_1.BitCnt = Tmp_2.TMlp2 is taking ~200us (can see the delay between register writes), need to investigate... (it was just a stupid bug)
2022-09-25 The ComAnode code has been improved/updated in the new TM1638 Lib.
Ссылки и html тэги не поддерживаются


Комментарии: