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
GLCD KS0108 Flowcode 4 error
Moderator: Benj
Re: GLCD KS0108 Flowcode 4 error
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
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
- 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
Hi Frank,
Great news you got it working ok. Thanks for letting us know
Great news you got it working ok. Thanks for letting us know

Regards Ben Rowland - MatrixTSL
Flowcode Product Page - Flowcode Help Wiki - Flowcode Examples - Flowcode Blog - Flowcode Course - My YouTube Channel
Flowcode Product Page - Flowcode Help Wiki - Flowcode Examples - Flowcode Blog - Flowcode Course - My YouTube Channel