If you change chips often it may be a good idea to use macros for the chip specific things (like initializing the PIC, or using ports or other peripheries). Tamas On 04/09/06, Bob Axtell wrote: > > Renzo wrote: > > I have a circuit, mainly a counter, with Led display driven by a > > 16F84a that runs perfectly. > > I changed the chip with a 16F628A , no change in the circuit I only > > replaced in the program the RAM beginning with 20h instead of 0Ch and > > of course processor and include file.. > > Now to start I have to momentary ground Rb0 and Rb4 never change. > > > > There are any other replacement to do? There is some article that > > deal with this problem? > > Thanks > > Renzo Giurini > > > > > There are a few other changes, too. Look at the Microchip Spec sheet for > the PIC16F628A. > At the very least, CMCON will have to be loaded with 7 to turn off the > analog comparators, > and enable digital signal operation. > > --Bob > -- > http://www.piclist.com PIC/SX FAQ & list archive > View/change your membership options at > http://mailman.mit.edu/mailman/listinfo/piclist > -- unPIC -- The PIC Disassembler http://unpic.sourceforge.net -- http://www.piclist.com PIC/SX FAQ & list archive View/change your membership options at http://mailman.mit.edu/mailman/listinfo/piclist