04-24-2009 07:15 PM
Thanks Dennis Knutson very much!
Before, I don't thinks we can use more I/O ports in a program. I'll do follow your idea, when it complete I'll say to you.
Members in there are fervour.Dear!
04-25-2009 04:08 AM
Dennis Knutson wrote:Here's something quick and dirty. Since there are separate registers for the parallel port and you have wired the data register to the data inputs of the lcd and 2 of the control register pins for the E and RS, it made things a bit simpler.
I did not do anything about the instruction data to set the lcd into the mode you want. You can modify the data write VI and change the RS level to 0.
Hi Dennis
Nice just as I would done I myself. But is not some of the bits in register address base+2 inverted by hardware in the port? This mean you have to write in "0" to get high output. See my compiled list. You should check this out aludlak. It is important 😉
BASE ADDRESS + 2 (PCR) Control register (Read or Write)
Bit 0 Pin 1 DATA STROBE Output Inverted
Bit 1 Pin 14 AUTO LINE FEED Output inverted
Bit 2 Pin 16 INITIALIZE PRINTER Output
Bit 3 Pin 17 SELECT INPUT Output inverted
Bit 4 0 = disable interrupt, 1 = enable interrupt
Bit 5
Bit 6
Bit 7
04-25-2009 08:15 AM - edited 04-25-2009 08:22 AM
:Thanks Cop rouge!
I saw your compiled list. It really useful for me.
I still doing with this, I imagined the way have to do with it, but now it not yet complete. possibly my knowledge about Labview so limit.
04-25-2009 09:56 PM - edited 04-25-2009 10:01 PM
Hi, everyone!
I written initializing the LCD.But when I run it, I don't see any changeon my LCD. ah, while writting(chang the program) I saw 1 times the surcor on LCD but I don't know why, and now I can't see it again. Wold you please see again my test.
04-26-2009 03:33 AM
I have made some small modifications. All 8 bit constants and controls do now have binary display. I have also left some work for you ;). You may run this VI standalone. I have set the default value for the data control to be the display on command.
Good luck
04-26-2009 03:40 AM - edited 04-26-2009 03:43 AM
04-26-2009 03:44 AM
04-26-2009 04:22 AM - edited 04-26-2009 04:31 AM
I changed your subvi in to my program. but LCD still don't have any change. I conected E with 14 pin, it mean when E =0, RS=0 => bit 1 =1, bit 2 =0 (b10). don't understand it wrong where.
This Instruction I did follow your program Cop rouge. Would you please see again.
04-26-2009 04:53 AM
04-26-2009 04:57 AM