He may not have been misreading the datasheet, he could have been reading the pinout table on the product page. That is what I was referring to when I said "Isn't it nice that they call the voltage at pin 3 VO in some places and VEE or Vee in others?".
You know. I totally missed that.
I always go straight to the actual datasheet.
That's why I feel it best to use pin numbers when you can (as on the character mode LCDs) and complete pin names when you can't. If you have to use shortened symbolic names because of multiple references it probably would be best to identify them with complete names the first time they are used.[/color]
Totally agree. The table on the playground page and the included glcd documentation
have a column called "Function" which is the actual glcd function for a given glcd pin.
My actual preference would be to use the datasheet and the board pin #s from the table
or the glcd library pin config file rather than the panel types.
Make the board pin#s or preferably the pin config file pin functions match the datasheet and you are golden.
Michael (the other library author) thought it was a bit too complicated to do it that way
and created the Panel types.
The Panel types do help the extreme newbies but it does create some other issues
since it doesn't promote any sort of understanding of what is really being hooked up
and how the pins for the library are configured.
[Edit] I just looked at some random character mode LCD data sheets. These devices don't have a negative supply or a pin 18 but pin 3 serves the same function as it does on the GLCDs. Most datasheets showed pin 3 labeled as VO, but there was at least one where it was labeled as Vee.
I see many errors on product pages/ebay-pages.
Sometimes the lcd being sold is not the lcd in the photo. I see that quite a bit for glcds.
Or sometimes the datasheet linked to is for the correct type of module (ks0108 etc.. ) but not
the exact module being sold - which may have a different pinout.
I've also seen a good percentage of the hd44780 and ks0108 datasheets with errors on them.
Often fairly minor but sometimes they don't even have the pinouts correct which makes things really tough.
--- bill