LCD

For Flowcode users to discuss projects, flowcharts, and any other issues related to Flowcode 2 and 3.

Moderators: Benj, Mods

Post Reply
wayne millard
Posts: 234
Joined: Thu May 31, 2007 2:18 pm
Has thanked: 7 times
Been thanked: 12 times

LCD

Post by wayne millard »

HI

I HAVE USED 2 x 16 LCD THATS OK.
NOW I AM USING 4 x 16 LCD.
LINE ONE AND LINE TWO OK BUT LINE 3,4 IF I SEND CURSOR TO 00,03 & 00,04 IT STARTS AT X5 POSITION.

THE LCD IS PC1604LRS-ASO-B
POWERTRIP TECH CORP.

CAN YOU HELP. :D

WAYNE.

User avatar
Benj
Matrix Staff
Posts: 15312
Joined: Mon Oct 16, 2006 10:48 am
Location: Matrix TS Ltd
Has thanked: 4803 times
Been thanked: 4314 times
Contact:

Post by Benj »

Hello

When you are trying to write to lines 3 and 4 you must use the y position of 2 and 3.

Eg cursor (0,3) - 4th line - character 1

If you increase the size of the LCD in the the LCD component properties then does the program simulate correctly.

I have tried to find the datasheet for your LCD to make sure it is compatible but have been unable to find one. If you have a link to a datasheet then I can have a better look.

wayne millard
Posts: 234
Joined: Thu May 31, 2007 2:18 pm
Has thanked: 7 times
Been thanked: 12 times

Post by wayne millard »

The LCD is from Farnell part No 501-6447
And im using 0.4 to send the curser to line 4 position 0.

Thanks
Wayne M :D

User avatar
Benj
Matrix Staff
Posts: 15312
Joined: Mon Oct 16, 2006 10:48 am
Location: Matrix TS Ltd
Has thanked: 4803 times
Been thanked: 4314 times
Contact:

Post by Benj »

Hello Wayne

Line 4 is indexed as 3.

Eg Line 1 is 0

So to write to lines 3 and 4 you will have to use

0,2 or 0,3

Post Reply