>In summary, the re-writing of the TRIS registers repeatedly while using >the TIMER1 and CCP1 together causes grossly wrong port states to be >written to the pins. My experience exactly. Want some real fun with interrupts? Set the RXD pin to an output and see what happens with the USART! >Now, I have been known to be totally wrong from time to time, so I am >reserving the right to show me my stupidity for my fellow piclisters. At least you documented your "stupidity" well. Maybe others will learn to provide such brief, concise lightbulb experiences on the list! >line, which will cause a stutter. It is normally used to choke off the >engine on high RPM. Make sure you have good filtering on the power supply and inputs. Especially, you need a voltage regulator which can respond quick enough to surges so as to prevent the output to your PIC from going bonkers. I took the liberty of renaming the reply so you might get some hits on exactly _how_ to do that. Andy ================================================================== Andy Kunz - Montana Design - 409 S 6th St - Phillipsburg, NJ 08865 Hardware & Software for Industry & R/C Hobbies "Go fast, turn right, and keep the wet side down!" ==================================================================