your CCP definition are fine for 4MHZ, but not for 10MHZ.
download this tool bellow
http://www.picbasic.co.uk/forum/showthread.php?t=4994
it will give you some answer.
More than likely it will see pulses. You have to convert it to pure DC with a simple RC filter... better if you add a op-amp buffer in between.1. This voltage i require is to be read by a vehicle ecu. If you use PWM will it see that as a voltage or will it see the pulses?




Bookmarks