First of all thank you for the beta release of the pascal compiler!
Now the problem.
Project Settings: ATmega16, Clock 16.000000
Code snippet:
Code: Select all
{$IFDEF ATmega16}
PORTC := 1;
{$ELSE}
PORTC := 0;
{$ENDIF}
This is not what the documentation is tellung us: See Compiler Directives / Predefined Flags.
Additional Question: Please give us a list of ALL predefined flags, this is missing from the documentation.
Additional Question: Is it possible to give us a predefined flag which represents the clock frequency set within the project settings? (e.g. F_CPU_8000000 for 8 MHz clock)
regards
Johannes