LCD Component String error

For Flowcode users to discuss projects, flowcharts, and any other issues related to Flowcode 5.
To post in this forum you must have a registered copy of Flowcode 5 or higher.

Moderator: Benj

Post Reply
beambase
Posts: 94
Joined: Wed Jul 29, 2009 5:15 pm
Has thanked: 6 times
Been thanked: 8 times
Contact:

LCD Component String error

Post by beambase »

LCDTest.fcf
Flowcode file
(9 KiB) Downloaded 289 times
Hello
I have a odd problem when using a standard 4x20 LCD display connected to a 18f46k80.
Writing numbers (bytes) to the display works.
Writing Strings to the display gives the wrong cgaracters on the display
Writing ASCII characters codes gives the right characters.
The attached flowcode file works in simulation but on real hardware it looks as in the blurry picture.
The same flocode file compiled to a 18f4550 using the same display woks as it should.
Attachments
DSC00053.jpg
DSC00053.jpg (66.06 KiB) Viewed 3380 times

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:

Re: LCD Component String error

Post by Benj »

Hello,

Please ensure you have the configuration setting "Extended CPU" or "Extended Instruction Set" disabled or strings and other arrays will not work correctly.

beambase
Posts: 94
Joined: Wed Jul 29, 2009 5:15 pm
Has thanked: 6 times
Been thanked: 8 times
Contact:

Re: LCD Component String error

Post by beambase »

Disabeling extended setting worked.
Thanks!

Post Reply