pwm of atmega16 not compile
Posted: Sun Jun 28, 2015 12:27 am
pwm of atmega16 not compile.why? for help!thank!
E:\Program Files\Flowcode(AVR)\v5\CAL\/AVR\AVR_CAL_PWM.c: In function 'FC_CAL_PWM_Set_Duty_10Bit_1':
E:\Program Files\Flowcode(AVR)\v5\CAL\/AVR\AVR_CAL_PWM.c
error: 'OCR0A' undeclared (first use in this function)
Error returned from [avr-gcc.exe]
Return code = 1
Flowcode was unable to compile the flowchart's C code due to the following errors:
If your flowchart contains C code, please review this carefully. If your flowchart contains no C-code or you have thoroughly reviewed the code, contact Technical Support.
FINISHED
E:\Program Files\Flowcode(AVR)\v5\CAL\/AVR\AVR_CAL_PWM.c
Error returned from [avr-gcc.exe]
Return code = 1
Flowcode was unable to compile the flowchart's C code due to the following errors:
If your flowchart contains C code, please review this carefully. If your flowchart contains no C-code or you have thoroughly reviewed the code, contact Technical Support.
FINISHED