There was a need for the Programming all was good while the PWM launched, during compilation appear in the following problem:
Code: Select all
/AVR\AVR_CAL_PWM.c: In function 'FC_CAL_PWM_Enable_Channel_1':
/AVR\AVR_CAL_PWM.c:671: error: 'COM0A0' undeclared (first use in this function)
/AVR\AVR_CAL_PWM.c:671: error: (Each undeclared identifier is reported only once
/AVR\AVR_CAL_PWM.c:671: error: for each function it appears in.)
/AVR\AVR_CAL_PWM.c:676: error: 'COM0A1' undeclared (first use in this function)
/AVR\AVR_CAL_PWM.c: In function 'FC_CAL_PWM_Disable_Channel_1':
/AVR\AVR_CAL_PWM.c:702: error: 'COM0A1' undeclared (first use in this function)
/AVR\AVR_CAL_PWM.c: In function 'FC_CAL_PWM_Set_Duty_8Bit_1':
/AVR\AVR_CAL_PWM.c:845: error: 'OCR0A' undeclared (first use in this function)
/AVR\AVR_CAL_PWM.c: In function 'FC_CAL_PWM_Set_Duty_10Bit_1':
/AVR\AVR_CAL_PWM.c:1121: error: 'OCR0A' undeclared (first use in this function)
From the C language do not understand anything so I'm desperate please help, Thanks