The first thing to do, is to make a backup of the 12F629.INC file in the PBP directory, just in case you need to restore it again later. Then open it up with Notepad and put a semicolon in front of the <pre>; __config _INTRC_OSC_NOCLKOUT & _WDT_ON & _MCLRE_ON & _CP_OFF</pre> line, and save the file.

This removes the default configuration for that chip, and allows you to set the __config value in your program. Just remember that you'll need to set the config in every program you write for the 12F629, unless you restore the original .INC file.

The EPIC program will accept these values, so you won't have to worry about setting it up every time.

Now add this line to the beginning of your program:
<pre>@ __config _EC_OSC & _WDT_ON & _MCLRE_OFF & _CP_OFF</pre>
Note the 2 underscores before config.

_EC_OSC &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;se lects the external oscillator and enables GP4 as general I/O
_MCLRE_OFF &nbsp;&nbsp;&nbsp;disables Master Clear and enables GP3 for input

Add these to the program and you should be set.
<pre>CMCON = 7 ' Set GP<2:0> to Digital, Disable comparator<br>TRISIO = %111001 ' Set GP<2:1> to Output</pre>
DTMFOUT will set GP4 to output the first time you use it.

HTH,
&nbsp;&nbsp;Darrel