We are running a survey to help us improve the experience for all of our members. If you see the survey appear, please take the time to tell us about your experience if you can.
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()
}
maybe he can try the <SORCE> and <END_SUORCE> tags :-)