Author |
Message |
Topic: problem with comparator |
trojanman
Replies: 13
Views: 21252
|
Forum: General CCS C Discussion Posted: Fri May 05, 2006 1:59 pm Subject: problem with comparator |
Thanks for the suggestion, going to try that code |
Topic: problem with comparator |
trojanman
Replies: 13
Views: 21252
|
Forum: General CCS C Discussion Posted: Mon May 01, 2006 9:47 am Subject: problem with comparator |
Going to take a look at the application note, though I've decided to go with the external comparator.
If I'm using Timer1's external input (pin C0?), how can I make timer1 give me its contents if aft ... |
Topic: problem with comparator |
trojanman
Replies: 13
Views: 21252
|
Forum: General CCS C Discussion Posted: Mon May 01, 2006 12:31 am Subject: problem with comparator |
If I'm going to use the external output of the comparator to connect it to Timer1 external clock input, and use Timer1 as a synchronous counter, do I have to poll the comparator's interrupt flag or c ... |
Topic: problem with comparator |
trojanman
Replies: 13
Views: 21252
|
Forum: General CCS C Discussion Posted: Mon May 01, 2006 12:07 am Subject: problem with comparator |
I used a voltage divider to get a voltage reference of 2.1V and connected it to pin A3 with mode 5 and that worked fine when checking pin A5 with an oscilloscope, although I couldn't get anything fr ... |
Topic: problem with comparator |
trojanman
Replies: 13
Views: 21252
|
Forum: General CCS C Discussion Posted: Fri Apr 28, 2006 9:20 pm Subject: problem with comparator |
>>I'm trying to turn the sine wave into a square wave
>>I want to make the PIC count the number of 40 kHz pulses it received
>>Is it possible to do this with out adding any hardwa ... |
Topic: problem with comparator |
trojanman
Replies: 13
Views: 21252
|
Forum: General CCS C Discussion Posted: Fri Apr 28, 2006 5:53 pm Subject: problem with comparator |
Thanks for your answers.
The reason why I'm trying to turn the sine wave into a square wave is because I want to make the PIC count the number of 40 kHz pulses it received, so I tried using the compa ... |
Topic: problem with comparator |
trojanman
Replies: 13
Views: 21252
|
Forum: General CCS C Discussion Posted: Thu Apr 27, 2006 6:41 pm Subject: problem with comparator |
Hi
Im using a 16f873a's comparator to turn a 40khz sinusoidal signal with a 50 % duty cycle into a 40khz square wave signal. The problem is that when i check the comparator's output with an oscillosc ... |
|