do i need to change program if i change pic

Discussion in 'Embedded Systems and Microcontrollers' started by adn07, Oct 21, 2008.

  1. adn07

    Thread Starter Member

    Sep 25, 2007
    17
    0
    i have made my program for pic16f876 ,and it worked perfectly(with some helpe from friends) .now if i wont to use this programm for another pic ,which is pic16f877 .do i need to change the program .any response would be appreciated.
     
  2. mik3

    Senior Member

    Feb 4, 2008
    4,846
    63
    If the 16f876 and 16f877 have identical pins (the function of the pins is the same for both) then the only thing you have to change is the name in the #include...... and the configuration bits
     
  3. lightingman

    Senior Member

    Apr 19, 2007
    374
    22
    That's rite...

    The 877 has more ports, if not using these set them to outputs...

    Daniel.
     
Loading...