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.

[SOLVED] Pic12f675 analog input

Status
Not open for further replies.

Saikatdas1

Newbie level 5
Newbie level 5
Joined
Apr 7, 2011
Messages
8
Helped
0
Reputation
0
Reaction score
0
Trophy points
1,281
Activity points
1,345
Hi,
I want to use the analog comparator of PIC12F675 in '100' mode,that is with internal voltage reference for Vin+ .Now my question is,to use Gp1 pin as analog input for Vin- ,do I need to do anything with ANSEL register?My program clears the ANSEL register in the beginning of the program and I am not using A/D converter.Do I need to do anything else with ANSEL to use it in '100' comparator mode?

Thanks in advance.
 

Hi,
No you don't need to change ANSEL after clearing it in the start. when you select '100' mode in CMCON, it will configure GP1 as analog
 
Status
Not open for further replies.

Similar threads

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Back
Top