For first bug: Run flowcode and altering an13
As the analoge slider is slowly increased the background of systempanel keeps changing:
For second bug compile to hex and following message is displayed:
Errors when generating C source code:
Demo_Board1_8bit_v6.c : 494 : error : Syntax error
Demo_Board1_8bit_v6.c : 504 : error : Syntax error
Flowchart opened was a fully working (apart from ADC issues) V5 flowchart.
There is also odd generated C code:
Code: Select all
Use :Waits until the switch is in state 'low'
:The interpretation of 'high' depends on the polarity
\*=----------------------------------------------------------------------=*/
void FCD_0ff_switch_base__WaitUntilLow()
{
//Local variable definitions
MX_UINT8 FCL_SWITCHVAL; // The state of the pin
MX_UINT16 FCL_DEL_COUNT;
MX_UINT8 FCL_OLD_SWITCHVAL;
while (1)
{
FCL_SWITCHVAL = FCP_GET(B, 0x80, 0x7);
#if (0) // 0 == 1
//Code has been optimised out by the pre-processor
// #else
#endif
#if (0) // 0 > 0
//Code has been optimised out by the pre-processor
// #else
#endif
if ((FCL_SWITCHVAL != 0) == 0) break;
}
}