Hello I'm using a LCD display that's 4X16 instead of 2x16, it uses the same chip I believe as the lcd function is suppose to talk to.
using locate, if I want to position something that is on line 0 or 1, it works as it should
But Locate 2,0 plunks my first character at line 2(the third line) but the 0 character position is 4 (the fifth character), this happens
with Locate 3,0 as well.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Check out the lcd.h file in the include folder of GCBasic. The library presumes that a display over two lines is a 20x4 display, which is what your output confirms. Try changing the locate sub to reflect the 16 wide display, and save it:
LCDColumn = LCDColumn + 16
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Hello I'm using a LCD display that's 4X16 instead of 2x16, it uses the same chip I believe as the lcd function is suppose to talk to.
using locate, if I want to position something that is on line 0 or 1, it works as it should
But Locate 2,0 plunks my first character at line 2(the third line) but the 0 character position is 4 (the fifth character), this happens
with Locate 3,0 as well.
Check out the lcd.h file in the include folder of GCBasic. The library presumes that a display over two lines is a 20x4 display, which is what your output confirms. Try changing the locate sub to reflect the 16 wide display, and save it:
Kent,
Thanks very much. that fixed it.
Remo