LCDInfo.com
http://forum.lcdinfo.com/

Programming with Visual Basic 2 [KS0108]
http://forum.lcdinfo.com/viewtopic.php?f=9&t=219
Page 1 of 1

Author:  Plato [ Thu Apr 24, 2003 15:29 ]
Post subject:  Programming with Visual Basic 2 [KS0108]

Hi!
I 've searched everywhere within this board, but the only thing i found referring to KS0108 was some C++ Code I didn't understand.
In WriteCommand it says:
SetPortVal(Control, Eneble_LO | CS | RS_LO,1)

Control is BASE + 2 i think, but what is Enable_LO, CS und RS_LO??

Cann somebody translate this at least to DlPortWritePortUshort?
Thanks a lot!
btw i used the classic wiring!

Author:  Henri [ Fri Apr 25, 2003 20:14 ]
Post subject: 

This source should help you although it uses the WinIO driver:
http://www.skippari.net/lcd/sekalaista/ ... lights.zip

And do you have some specific reason to use DLPortIO as I think WinIO is usually better ?

Here is the same thing using both drivers:
DlPortWritePortUshort(CONTROL, CDLO | WRLO | RDHI | CEHI);
SetPortVal(CONTROL, CDLO | WRLO | RDHI | CEHI, 1);

Author:  Plato [ Sat Apr 26, 2003 20:40 ]
Post subject: 

Thank you so far!
So my problem with that source was that there wasnt used DLPortIO but WinIO.
So.
Problem solved!
Thank you!

But next question:
What is WinIO and why do you prefer it?

Author:  Henri [ Sat Apr 26, 2003 22:03 ]
Post subject: 

WinIO is a port driver like DLPortIO. You can find it here: http://www.internals.com/
I think there was some VB examples included.

I like WinIO because I haven't had problems with it like I have had with DLPortIO and it has been faster for me.

Author:  Plato [ Sun Apr 27, 2003 14:12 ]
Post subject: 

Ok, thank you!
By the way I stopped developping in VB and changed to C++.
Its Great!
At the Moment I have a SetPixel and ClearPixel Method for my KS0108.
Now I'm working on an ICON method, to place any bitmap anywhere on screen.

So I'll check out WinIO.
Thanks

Page 1 of 1 All times are UTC + 2 hours
Powered by phpBB® Forum Software © phpBB Group
http://www.phpbb.com/