The config should be: INTERNAL RC and PWRT ON for 16F628. For the 16F84A the config is External RC and PWRT ON. As I mention before, the reason of this project is becuse i'm working in a technic to read analog values directly from a signal without an ADC. Here is the method used to read analog values with a digital input output pin: 1. Connect a RC circuit to a Digital I/O pin. 2. Set the pin as OUTPUT and make it high for 1 ms (one milisecond) 3. Set the pin as INPUT and start a 16 bit counter until the input signal is low. The value of the 16-bit counter should be the value of the input signal or the value of the RC. You can learn more about this technic at the Microchip's web page (www.microchip.com) reading the application notes at the documentation section.