Re: Help With 18F4620
Hi Vicente,
@ device pic16F877,HS_OSC, wdt_on, pwrt_on, bod_on, lvp_off, protect_on,wrt_off
Is a config for use with the PM (default) assembler, which you cannot use on the 18F series of pics, so you must switch up to using MPASM. First thing you must do is tell Micro Code studio about that Click File..view..compile & assembler..assembler and install a check in the checkbox use mpasm . . . .
then you need to comment out the default config in the 18F4620.inc file located in your PBP root directory, you might just as well do a copy paste of it into your MCS code page for your first 18F project (it makes a great exemplar) and then modify it from there. Some of these are quite involved. If you open up the P18F4620.inc file located in the MPASM Suite you will see every available config and register this chip has .
Last edited by Archangel; - 18th June 2011 at 21:01.
If you do not believe in MAGIC, Consider how currency has value simply by printing it, and is then traded for real assets.
.
Gold is the money of kings, silver is the money of gentlemen, barter is the money of peasants - but debt is the money of slaves
.
There simply is no "Happy Spam" If you do it you will disappear from this forum.
Bookmarks