I want to use two of the same costum code blocks.
The point is I want to control two graphic displays with one microcontroller (KS0108)
I'm using the costum component from the side and I have renamed them accordingly.
When I try to compile it gives me this error:
What is the problem here and how can I fix this.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: Thursday, May 09, 2013 23:43:52
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(942): Illegal redefinition of symbol: MX_DATA_PORT
Display.c(943): Illegal redefinition of symbol: MX_DATA_TRIS
Display.c(944): Illegal redefinition of symbol: MX_CONTROL_PORT
Display.c(945): Illegal redefinition of symbol: MX_CONTROL_TRIS
4 errors detected
Error: preprocessing error
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
If anyone can help me, I would really appreciate it.
Regards Jordy
