por Jozias del Rios » 04 Nov 2010 10:59
Leia o Appendix C do datasheet do seu PIC
DEVICE MIGRATIONS
1. ER mode is now RC mode.
2. Code protection for the program memory has changed from code-protect sections of memory to code-protect of the whole memory. The configuration bits CP0 and CP1 in the PIC16F628 do not exist in the PIC16F628A. They have been replaced with one configuration bit<13> #CP.
3. "Brown-out Detect (BOD)" terminology has changed to "Brown-out Reset (BOR)" to better represent the function of the Brown-out circuitry.
4. Enabling Brown-out Reset (BOR) does not automatically enable Power-up Timer (PWRT) the way it did in the PIC16F628.
5. INTRC is now called INTOSC.
6. Timer1 Oscillator is now designed for 32.768 kHz operation. In the PIC16F628, the Timer1 oscillator was designed to run up to 200 kHz.
7. The Dual-Speed Oscillator mode only works in the INTOSC oscillator mode. In the PIC16F628, the Dual-Speed Oscillator mode worked in both the INTRC and ER oscillator modes.
Como pode ver, foram algumas alterações de nomenclatura e alguns outros detalhes que provavelmente não lhe afetam. Em todo caso, vc não tem opção; terá que escrever seu código para PIC16F628A, já que ele substituiu o PIC16F628 já faz tempo...
Os vencedores são aqueles que sabem o que fazer se perderem.
Os perdedores são aqueles que não sabem o que fazer se ganharem.