kunal5959
Junior Member level 3
I am getting a small Duty cycle generated when i set OCR1A to zero and ICR1=3667(which is 500Hz) for TIMER1 of ATMEGA128A..
According to my understanding if i set all the COM1A1, CS and WGM registers correctly for FAS PWM mode OCR1A =0x00; should generate a PWM such that Dutycycle =0/3667 *100..this implies zero duty cyle...why is there always a small dutycycle being generated??
According to my understanding if i set all the COM1A1, CS and WGM registers correctly for FAS PWM mode OCR1A =0x00; should generate a PWM such that Dutycycle =0/3667 *100..this implies zero duty cyle...why is there always a small dutycycle being generated??