Please help with BasicX24 and a serial 2x16LCD question

Status
Not open for further replies.

ize

New Member
Hi guys (and dolls?)!

Got so well taken care of the other day that I'll try it again. Asking questions that is...

Well, this is it. I want to run a LCD with a BasicX-chip. Currently, it does run and do what I want it to do, except for one, crucial thing: the geometry.

The code I'm using id based upon code found in this PDF from NetMedia
https://www.electro-tech-online.com/custompdfs/2004/02/ser2x16.pdf

The question is.. How do I change the default geometry of 4x20 to the 2x16 that I need? There is a function that should provide this functionality, but I don't understand how to get it right..

I've tried several versions o fsyntax but nothing seems to work

Call PutQueueStr(Com3Out, Chr(Set_Geometry)&Chr(15, 16,0x80, 0xC0,0x80,0x80))

Call PutQueueStr(Com3Out, Chr(Set_Geometry, 15, 16,0x80, 0xC0,0x80,0x80))

Call PutQueueStr(Com3Out, Chr(Set_Geometry)
Call PutQueueStr(Com3Out, Chr(15, 16,0x80, 0xC0,0x80,0x80))

Neither of these work.... Thanx for your help
 
Status
Not open for further replies.
Cookies are required to use this site. You must accept them to continue using the site. Learn more…