Continue to Site

Welcome to EDAboard.com

Welcome to our site! EDAboard.com is an international Electronics Discussion Forum focused on EDA software, circuits, schematics, books, theory, papers, asic, pld, 8051, DSP, Network, RF, Analog Design, PCB, Service Manuals... and a whole lot more! To participate you need to register. Registration is free. Click here to register now.

problem with analog comparator molude in PIC18F2550

Status
Not open for further replies.

enkavak

Newbie level 5
Joined
Feb 18, 2006
Messages
10
Helped
0
Reputation
0
Reaction score
0
Trophy points
1,281
Activity points
1,357
Hi there

I'm trying to use the analog comparator module of PIC18F2550, but it does not work. Is there anyone who worked with comparator modules of PIC family. Here is my code sample.


setup_comparator(A0_A3_A1_A3);
setup_vref(VREF_HIGH|15);
enable_interrupts(INT_COMP);
enable_interrupts(GLOBAL);
 

Status
Not open for further replies.

Similar threads

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Back
Top