I'm kind of new to C compiler, I'm required to make a 40 kHz pwm modulation using timer2 with a 4 Mhz oscillator on a pic 18f4520.
I tried calculating PR2 and got PR2=24 (not sure about it though).
Any help is greatly appreciated.
Thanks in advance.
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum