you set the timer1 for pwm, but then you use pwm0a ? pwm0 refers to timer0.
also, the original question was about rc5.
if you have problem with pwm for timer1, make a new small sample.
forum could be right, but it could be old info too. i did not check so there might be a problem for this chip. _________________ Mark
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 You cannot attach files in this forum You cannot download files in this forum