Hi people, I am working in a project for timing the amount of time that takes a certain pin to go from 1 to 0. In order of do that I need to get an interrupt from the comparator in a high-to-low mode with the vref_low module set around 0.8v.
The problem is that I can't find the way of set the comparator in this high to low mode.
Does anyone know how to do this? or someone have a better way of getting what i need?
Thanks a lot and sorry for my horrible English.
PCM programmer
Joined: 06 Sep 2003 Posts: 21708
Posted: Fri Jul 01, 2011 12:56 pm
1. Post your PIC and compiler version.
2. Also, what type of signal is this ? Is it a sine wave ? What are the
high and low voltage levels of the waveform ? What's the frequency ?
If it's not a continous sinewave, then what's the shortest and the longest
risetime that you expect to get from the waveform ?
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