It controls a 30 years ago -)) used LM054 type Hitachi LCD, I have. However, now I built a simple PIC16F628A circuit on a breadboard to show the bargraph. The library was developed (and tested so far) in Proteus. But how much is its height? 7 or 8 pixels? In Proteus this height is always 7 pixels (corresponding the above), and I took that into account. It's a fully filled (solid) char, ie all pixels lit. ![]() My BarGraph library is intensively using the last predefined LCD character (numbered as 255). This is not the case in Proteus, so we cannot display a 8 pixels high custom character. Maintain the 8th line data, corresponding to the cursor display position, at 0 as the cursor display.If the 8th line data is 1, 1 bits will light up the 8th line regardless of the cursor presence. The 8th line is the cursor position and its display is formed by a logical OR with the cursor. ![]() If I define a custom character that uses the lowest (8th) pixel row also, this row is never displayed, although the HD44780 datasheet says this:
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |