ansh2d87 said:and provide lcd on command as 0x30........i think this is wat u was saying...
HT1621 datasheet said:LCD ON 1 0 0 0 0 0 0 0 0 1 1 X Turn on LCD outputs
ansh2d87 said:hey thanks for your support but i got the solution.....
actually there was an hardware problem...... my data pin was not soldered correctly with the pad that's why it is not taking any data.....now my lcd is on....
ansh2d87 said:SEGMENT/ LCD PIN
8 / 3
9 / 4
10 / 5
11 / 6
12 / 7
13 / 8
14 / 9
15 / 10
16 / 11
17 / 12
18 / 13
19 / 14
20 / 17
com1----pin15 of lcd
com2----pin2
com3----pin16
com4---pin1
No, no, and once again NO! Pin 18 is another segment line controlling the battery icon in the lower-right corner of the display. You should NEVER apply DC power directly to a bare LCD like this, so before you go any further you need to power down your board, break the connection between this pin and Vcc, and then connect it to one of the spare segment drive pins on the HT1621.pin18 is vcc......
const char bitpatterns[] = {0x7D, 0x60...}
char bitpattern = bitpatterns[number_to_display];
write_lcd_address(6 + (digit * 2));
for(writes = 0; writes < 2; writes++)
{
for(bits = 0; bits < 4; bits++)
{
write_lcd_bit(bitpattern & 0x01);
bitpattern = bitpattern / 2;
}
}
We use cookies and similar technologies for the following purposes:
Do you accept cookies and these technologies?
We use cookies and similar technologies for the following purposes:
Do you accept cookies and these technologies?