And it works perfect, but i really want to use some of the more special characters.
And in the HD44780 datasheet there is a table of chars, but i cant really figure out what byte command i should send to get the different chars?
Can someone help me on how i should read this table?
Please take a look at the table. For each character you can find it’s binary code. You do that by combining upper bits with lower bits from the table. For example: capital ‘A’ will give you ‘0100’ and ‘0001’. Combining these two values into a byte - 01000001, which is decimal value of 65, which is also the ASCIi code of the ‘A’ character. Now pick a character from the table, determine it’s code and use SendByte method to output it on the display.
Check the tables again: they say they are for different ROM codes. Page 17 is ROM Code A00, Page 18 is ROM Code A02. I don’t think that’s something you can “switch”.
I might think you are right…
But i should be able to create my own custom chars, somehow…
So if i figure that out, then i can just recreate what i want from the other rom…
As far as i can read, its factory shipped with either one or the other… so i guess i only have the first one.
But i should be able to send a set of bytes to define my own custom chars.
Yep, you can create your own characters. The ~5 earlier pages in the datasheet tell you how. Perhaps the driver portion of that is left as an exercise for the reader
So it makes a bit more sense now, so should be able to do what he does in C# instead.
So ill try that, but its kinda late here.
I’ll return with my findings later