http://www.matrixmultimedia.com/mmforum ... 335#p24232
It compiled for me fine with Flowcode V3 for PIC, but did not compile successfully when imported to V3 AVR
The following errors was shown within the message window:
Code: Select all
C:\Users\SANTAN~1\DOCUME~1\FLOWCODE\REMOTE working progress_Modified2.c: In function 'FCM_Timer0_intrerput':
C:\Users\SANTAN~1\DOCUME~1\FLOWCODE\REMOTE working progress_Modified2.c:168: error: expected expression before ';' token
C:\Users\SANTAN~1\DOCUME~1\FLOWCODE\REMOTE working progress_Modified2.c:257: error: expected expression before ';' token
Error returned from [avr-gcc.exe]
Return code = 1
Code: Select all
Seconds_Timer1 = Seconds_Timer1 - 1
Code: Select all
Seconds_Timer2 = Seconds_Timer2 - 1
Code: Select all
//Calculation
//Calculation:
// Seconds_Timer1 = Seconds_Timer1 - 1
// 0 =
FCV_SECONDS_TIMER1 = FCV_SECONDS_TIMER1 - 1 ;
0 = ;
Code: Select all
//Calculation
//Calculation:
// Seconds_Timer2 = Seconds_Timer2 - 1
// 0 =
FCV_SECONDS_TIMER2 = FCV_SECONDS_TIMER2 - 1 ;
0 = ;
Code: Select all
FCV_SECONDS_TIMER1 = FCV_SECONDS_TIMER1 - 1 ;
Bug was not present on Flowcode V4 AVR demo.FCV_SECONDS_TIMER2 = FCV_SECONDS_TIMER2 - 1 ;
Martin