psubiaco
Member level 2
ht1621 source
Hi all.
I'm trying a custom display using HT1621 controller...
I'm not able to see anything on the display (it remains blank), and I'm not sure that the sequence of commands to init HT1621 is correct..... here is the sequence of commands i sent
ht1621_writecmd(0x18); // Internal RC OSC
ht1621_writecmd(0x01); // SYS EN
ht1621_writecmd(0x03); // LCD ON
ht1621_writecmd(0x05); // DISABLE WDT FLAG OUTPUT
ht1621_writecmd(0x04); // DISABLE TIMEBASE OUTPUT
ht1621_writecmd(0x60); // TONE 2KHz
ht1621_writecmd(0x25); // 3 common, 1/3 duty
If you know the initialization procedure or a sample code (C or ASSEMBLY), please let me know.
Thank you in advance. Paolo
Hi all.
I'm trying a custom display using HT1621 controller...
I'm not able to see anything on the display (it remains blank), and I'm not sure that the sequence of commands to init HT1621 is correct..... here is the sequence of commands i sent
ht1621_writecmd(0x18); // Internal RC OSC
ht1621_writecmd(0x01); // SYS EN
ht1621_writecmd(0x03); // LCD ON
ht1621_writecmd(0x05); // DISABLE WDT FLAG OUTPUT
ht1621_writecmd(0x04); // DISABLE TIMEBASE OUTPUT
ht1621_writecmd(0x60); // TONE 2KHz
ht1621_writecmd(0x25); // 3 common, 1/3 duty
If you know the initialization procedure or a sample code (C or ASSEMBLY), please let me know.
Thank you in advance. Paolo