PDA

View Full Version : Adapting code for different PIC's



jhorsburgh
- 9th May 2008, 03:48
Hi All,
I am quite new to the world of PIC's and have a question in regards to changing the code examples at this link http://www.picbasic.co.uk/forum/showthread.php?t=6261 so that they will work with a PIC16F628A chip as opposed to the PIC12F629.

Any help will be much apreciated.
Regards,
Jeremy

mackrackit
- 9th May 2008, 05:02
There is not a whole lot to change.
Make sure the config is correct for the OSC you plan to use with a "blinky" test.
Check that the analog and comparators are taken care of.
http://www.picbasic.co.uk/forum/showthread.php?t=561
Change the GPIO.?s to what ever PORT.? you want to use.