GLCD KS0108 Flowcode 4 error

For Flowcode users to discuss projects, flowcharts, and any other issues related to Flowcode 4.
To post in this forum you must have a registered copy of Flowcode 4 or higher. To sign up for this forum topic please use the "Online Resources" link in the Flowcode Help Menu.

Moderator: Benj

Post Reply
yfands
Flowcode V4 User
Posts: 12
Joined: Wed May 05, 2010 12:33 pm
Has thanked: 3 times

GLCD KS0108 Flowcode 4 error

Post by yfands »

Hello,

I tried to compile to chip the beta component GLCD KS0108,
the only thing I get is:

LCD Print TestV4.c(168:2): error: unknown identifier 'FCD_Custom0_LCD_Init
LCD Print TestV4.c(168:2): error: failed to generate expression
LCD Print TestV4.c(178:2): error: unknown identifier 'FCD_Custom0_LCD_Draw_Line'
LCD Print TestV4.c(178:2): error: failed to generate expression

etc etc for all functions starting with FCD_

I downloaded "the flowcode V4" file ? KS0108 Graphical LCD.zip
renamed the PIC_Custom.c to Custom_Code.c and copied the file to the components directory,
The other strange thing is that I cant access the macro from within flowcode itself, the only thing I can access (set)
Is (properties, component macro window) Custom0->Funct1.....Funct4, not LCD_Init or LCD_Draw_Rect or one of the other functions
is available.

I'm I doing something wrong, or is the file the wrong version ?

I'm using Flowcode 4 Pro with Pic 16f877

regards
Frank

yfands
Flowcode V4 User
Posts: 12
Joined: Wed May 05, 2010 12:33 pm
Has thanked: 3 times

Re: GLCD KS0108 Flowcode 4 error

Post by yfands »

Hi All,

I figured it out myself, It's quite simple, (In my case) DONT rename PIC_Custom.c to Custom_Code.c.
As mentioned at the Custom Components page, Flowcode 4 uses PIC_Custom.c file(s).

o' and by the way, There is no RESET line defined, mine is active low and already connected.
Two options, use the Output symbol and put a 1 on port C bit 5 or tigh it to the +5v (again in my case).

regards
Frank

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: GLCD KS0108 Flowcode 4 error

Post by Benj »

Hi Frank,

Great news you got it working ok. Thanks for letting us know :)

Post Reply