Electronic Projects, forums and more.

Go Back   Electronic Circuits Projects Diagrams Free > Electronics Categories > Micro Controllers


Micro Controllers Discuss all aspects of micro controllers - building them, coding them, etc. All controllers are welcome - PIC, BASIC, Z8 Encore!, etc.

Reply
 
Tools
Old 25th October 2009, 06:35 PM   #1
Default turn off A/D 16F676

HOW CAV DO IT .....turn off A/D and initialize those ports as digital I/Os. For this, the ANSEL and CMCON registers must be initialized. [PIC 16F676]
sahu is offline  
Old 25th October 2009, 06:39 PM   #2
Default

Clear the ANSEL register.
Perhaps there is an ANSEL high register.
I do not think the CMCON register matters for that chip (Default off).
Thats about it.
__________________
Mike
My website: www.ElectroBird.net
birdman0_o is offline  
Old 25th October 2009, 06:43 PM   #3
Default

Quote:
Originally Posted by birdman0_o View Post
clear the ansel register.
Perhaps there is an ansel high register.
I do not think the cmcon register matters for that chip (default off).
Thats about it.
dear sir
pl give me 1 exp...
sahu is offline  
Old 25th October 2009, 07:59 PM   #4
Default

Quote:
Originally Posted by sahu View Post
dear sir
pl give me 1 exp...
I am not a sir, and what do you want?
__________________
Mike
My website: www.ElectroBird.net
birdman0_o is offline  
Old 26th October 2009, 12:36 PM   #5
Default

ANSEL = 0;
ADCON1 = 0;
ADCON0 = 0;
TRIS(x) = 0;
__________________
Creationists have a world of evidence
AllVol is offline  
Reply

Tags
a or d, turn

Thread Tools
Display Modes


Similar
Title Starter Forum Replies Latest
16f676 based on sqer. wave inverter sahu 8051/8951 3 22nd October 2009 04:32 PM
16F676 programming problem swapan Micro Controllers 10 24th September 2009 12:45 PM
PIC 16F676 - problem with data table pebe Micro Controllers 6 16th May 2009 09:55 PM
PIC16F630 and 16F676 ? pasanlaksiri Micro Controllers 9 18th November 2007 05:21 PM
Pic 16f676 Lost OSCCAL 1Steveo Micro Controllers 4 1st May 2006 03:21 AM



All times are GMT. The time now is 04:59 AM.


Electronic Circuits  |  Learning Electronics
eXTReMe Tracker