I received my GHI parcel form USA today . It works fine on the standard 16x2 char Display, and even drives the top two rows of my MatrixOrbital 20x4 DIsplay.
It drives all 20 columns, but the bottom two rows dont seem to work…
Is this easily explained ?
What a quick Solution… Thanks All
I got it working (as you can see in my image)… but as quite a novice, it took some
figuring to get it going…
(And from what type of questions i read on fora, im not even that much of a starter)
so maybe someone else stumbles onto this thread and these steps i figured our will help.
first i had to figure out WHERE to find the SetCursor function…
(i gathered it had to be in the 44780 DLL, but you cant access the function in the dll ofcourse.
so after some searching i found the source (cs) files… http://www.codeplex.com/site/users/view/steven_ghielec
OK finding the cs file and changing (and testing) the changed function was not hard to do
Then i had to get a DLL … (googling the Howto on that was quite simple) :
( i Built the project and copied the files from the BIN\Debug directory in the project, to the source directory for Gadgeteer DLL.s
( C:\Program Files (x86)\GHI Electronics\GHI .NET Gadgeteer SDK\Modules\Display_HD44780) in my case.
You might also want to check that row < row_offsets.Length in the first line of the method and either throw an exception or default to the first row depending on your needs. Otherwise you risk getting a IndexOutOfRangeException when you try to index the array.