Hi Guys
My program does not want to compile in Flowcode V5 but compiled without errors in flowcode V4.
Are there any differences in the C-code of V5?
This is the errors from V5
VR Weighing Scale V2.5A.c(719:23): error: unknown identifier 'ADCS2'
VR Weighing Scale V2.5A.c(719:23): error: invalid operand 'ADCS2'
VR Weighing Scale V2.5A.c(719:18): error: failed to generate expression
VR Weighing Scale V2.5A.c(719:18): error: invalid operand '<<'
VR Weighing Scale V2.5A.c(719:12): error: failed to generate expression
VR Weighing Scale V2.5A.c(727:33): error: unknown identifier 'ADC_2'
VR Weighing Scale V2.5A.c(727:33): error: invalid operand 'ADC_2'
VR Weighing Scale V2.5A.c(727:39): error: failed to generate expression
VR Weighing Scale V2.5A.c(727:39): error: invalid operand '<<'
VR Weighing Scale V2.5A.c(727:30): error: failed to generate expression
VR Weighing Scale V2.5A.c(727:30): error: invalid operand '| '
VR Weighing Scale V2.5A.c(727:9): error: failed to generate expression
Compiling Error in V5
-
- Matrix Staff
- Posts: 9521
- Joined: Sat May 05, 2007 2:27 pm
- Location: Northamptonshire, UK
- Has thanked: 2585 times
- Been thanked: 3815 times
- Contact:
Re: Compiling Error in V5
Hi Desdewit,
It can be solved, but what's happning is very odd indeed!
The Fix is to delete ADC component from all 3 locations, then delete ADC from control panel.
Finally re-add ADC component, then it should compile OK.
I have done just that with attached version for you to try.
For some reason with the ADC that's currently on your Flowchart is causing Flowcode to pick up wrong data from PIC_CAL_ADC.c (at least that's what I think from a non expert point of view). But I could be wrong with that.
Benj (or others @mm) would know what's really going on as I don't
I have posted about this issue in the V5 issues section here:
http://www.matrixmultimedia.com/mmforum ... 47&t=10361
Martin
It can be solved, but what's happning is very odd indeed!
The Fix is to delete ADC component from all 3 locations, then delete ADC from control panel.
Finally re-add ADC component, then it should compile OK.
I have done just that with attached version for you to try.
For some reason with the ADC that's currently on your Flowchart is causing Flowcode to pick up wrong data from PIC_CAL_ADC.c (at least that's what I think from a non expert point of view). But I could be wrong with that.
Benj (or others @mm) would know what's really going on as I don't
I have posted about this issue in the V5 issues section here:
http://www.matrixmultimedia.com/mmforum ... 47&t=10361
Martin
- Attachments
-
- Weighing Scale V3 FC5.fcf
- (20.38 KiB) Downloaded 234 times
Martin
-
- Posts: 130
- Joined: Sat Feb 26, 2011 4:26 am
- Location: South Africa
- Has thanked: 25 times
- Been thanked: 11 times
- Contact:
Re: Compiling Error in V5
Hi Martin
Thanks for the reply
I will test your fix
Thanks for posting this in the V5 section as I am still waiting to be added to the V5 section.
Only installed V5 on Saterday
Thanks for the reply
I will test your fix
Thanks for posting this in the V5 section as I am still waiting to be added to the V5 section.
Only installed V5 on Saterday
-
- Matrix Staff
- Posts: 9521
- Joined: Sat May 05, 2007 2:27 pm
- Location: Northamptonshire, UK
- Has thanked: 2585 times
- Been thanked: 3815 times
- Contact:
Re: Compiling Error in V5
Your welcome,
Hope fix works for you.
Would you mind letting us know if fix works please
Martin
Hope fix works for you.
Would you mind letting us know if fix works please
Martin
Martin
-
- Posts: 130
- Joined: Sat Feb 26, 2011 4:26 am
- Location: South Africa
- Has thanked: 25 times
- Been thanked: 11 times
- Contact:
Re: Compiling Error in V5
Hi Martin
I deleted the ADC component from all 3 locations including the control panel and it worked after replacing it with the ADC component in V5.
I deleted the ADC component from all 3 locations including the control panel and it worked after replacing it with the ADC component in V5.