• CODE for Call void function with parameter?
    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...
  • CODE for Call void function with parameter?
    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...
  • In 8051 MikroC PRO, how do I combine two void functions into a void main function?
    I've formed two void functions and I want to combine the two void function together in a void main function. However, the system shows that I can't combine two void functions. How do I combine the two...
  • In 8051 MikroC PRO, how do I combine two void functions into a void main function?
    I've formed two void functions and I want to combine the two void function together in a void main function. However, the system shows that I can't combine two void functions. How do I combine the two...
  • Calling functions & passing parameters from ISR
    Hello, I am having two problems which I think are pretty much related to each other: Problem 1: passing parameters to function called from ISR I am invoking a function from ISR. To this...