PR11 using PIC18F4520

LED Blinking, Walking with Cytron Servo, Displaying RFID, Multi-function Mobile Robot......

PR11 using PIC18F4520

Postby V.Lim » Mon Apr 15, 2013 9:44 am

Hi guys, a few questions here. is it possible to change the PIC 16F to PIC 18F? From the code, can it be used for a PIC 18F? if not, what is the changes that i can do for the source code?

Thank You.
V.Lim
Fledgling
 
Posts: 1
Joined: Mon Apr 15, 2013 9:37 am

Re: PR11 using PIC18F4520

Postby robosang » Tue Apr 16, 2013 3:03 pm

If the project is using 40-pins, it should be compatible, the pins are compatible.

But software, I don think is compatible.

1st you need to check the compiler whether it support 18F, else, you will need to do some modification. What modification? Not sure because it depends on compiler.
robosang
Expert
 
Posts: 1239
Joined: Wed Jun 10, 2009 5:37 pm

Re: PR11 using PIC18F4520

Postby shahrul » Thu Apr 18, 2013 3:48 pm

change from pic16 to pic18, if use same compiler it's not many modification. ex I use hi-tech just change pic configuration and change address. ex address different on Timer 0.
User avatar
shahrul
Professional
 
Posts: 812
Joined: Sat May 16, 2009 9:54 pm
Location: Selangor


Return to DIY Project Set

Who is online

Users browsing this forum: No registered users and 17 guests

cron