void PWM_Config(uint8_t TIM_PERIOD, uint8_t TIM_PULSE) { . . . } int main() { PWM_Config(); // THIS LINE SHOWS AN ERROR . . . }
ERROR LIST:
main.c(251): error: #165: too few arguments in function call PWM_Config();
BUT, If I write the program below, there is an no error
void PWM_Config() { . . . } int main() { PWM_Config(); // NO ERROR . . . }
KINDLY HELP!
Maybe read this? www.shrani.si/.../cfordummies.pdf