This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

Keil

Hi everyone,

I know this is very little problem but i want to confirm this. My PWM programme and my ADC programme working fine if ican run them individiaully. But If i integrate together then it won't work. I dont know whats the problem. I provide my logic here.

#include<xc164.h>

void initCCU6(); PWM generation
void initADC(); ADC initialisation

void main (void)
{ initCCU6(); initADC(); set ADCST=1 , start conversion while(1) { while(ADSBY=1) { change the duty cycle }
return()

}

Parents Reply Children
No data