Using 2 Costum Code Blocks !!Help!!

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

User avatar
Jordy101091
Posts: 519
Joined: Sat Jan 08, 2011 4:02 pm
Location: The Netherlands
Has thanked: 25 times
Been thanked: 188 times
Contact:

Re: Using 2 Costum Code Blocks !!Help!!

Post by Jordy101091 »

I have tried to put another endif at the end.
And it seems like im getting the same error message as in previous post.

Code: Select all

File name:     \\NASHJJAKL\Jordy Kleian\Documenten\Flowcode Projects\Projecten\Power Supply Rev.2\uC Display\Display.c
Title:         
Description:   
Generated by:  Flowcode v5.5.2.1
Date:          Sunday, June 09, 2013 14:59:58
Licence:       Professional
Registered to: Jordy Kleian
Licence key:   H8NNFC
http://www.matrixmultimedia.com
De compiler wordt gestart...
C:\Program Files (x86)\Flowcode\v5\Tools\boostc\boostc_pic18_flowcode.exe -v -t PIC18F6722 "Display.c"
BoostC Optimizing C Compiler Version 7.04 (for PIC18 architecture)
http://www.sourceboost.com
Copyright(C) 2004-2011 Pavel Baranov
Copyright(C) 2004-2011 David Hobday

Licensed to FlowCode User under Single user Pro License for 1 node(s)
Limitations: PIC18 max code size:Unlimited, max RAM banks:Unlimited


Display.c
Starting preprocessor: C:\PROGRA~2\Flowcode\v5\Tools\boostc\pp.exe Display.c -i C:\PROGRA~2\Flowcode\v5\Tools\boostc\include -d _PIC18F6722 -la -c2 -o Display.pp -v -d _BOOSTC -d _PIC18 -d _CHAR_INDEX 


.......

Display.c(1445:12): error: variable 'ASCII1' already exists
Display.c(1457:12): error: variable 'ASCII2' already exists
Display.c(1469:12): error: variable 'ASCII3' already exists
Display.c(1481:12): error: variable 'ASCII4' already exists
Display.c(1493:12): error: variable 'ASCII5' already exists
Display.c(1505:12): error: variable 'ASCII6' already exists
Display.c(1517:12): error: variable 'ASCII7' already exists
Display.c(1529:12): error: variable 'ASCII8' already exists
Display.c(1558:7): error: Function 'MX_LCD_Enable' already has a body
Display.c success

failure
Resultaat = 1
Flowcode kan de C-code niet vertalen vanwege de volgende fout:


Als de flowchart C-code bevat, controleer die dan zorgvuldig. Als de flowchart geen C-code bevat of als die gegarandeerd vrij is van fouten, neem dan contact op met de technische ondersteuning.


KLAAR
the will to learn, should not be stopped by any price

User avatar
Mantas
Posts: 221
Joined: Tue May 15, 2012 10:32 pm
Location: Klaipeda, Lithuania - North sea, UK
Has thanked: 57 times
Been thanked: 27 times

Re: Using 2 Costum Code Blocks !!Help!!

Post by Mantas »

Why do you have written the ASCII data to rom twice???

the first you begin at line 526 and end at 620, and then you do the same with defines starting at line 1443 and ending 1542. I think you should remove the first one, as I understand it is in the supplementary code. And the one with defines is in the custom code defines. You should have it only in one place...MM correct me if I'm wrong?... :roll:

BR,
Mantas
Science is my true religion.

Post Reply