Ok I changed them all to _FCMEN.
Now my led does not blink anymore...but the error is gone!
Ok I changed them all to _FCMEN.
Now my led does not blink anymore...but the error is gone!
That is what you had ??
Error[113] c:\pbp\18f4550.inc 21 : Symbol not previously defined (_FCMEN_OFF_1H)You code appears that you want to use the internal OSC but the configs show an external.Now my led does not blink anymore...but the error is gone!
Try this
_FOSC_INTOSC_HS_1H
in place of
_FOSC_HSPLL_HS_1H
You can go to the MPASM Suite in program files\microchip, look at the *.inc file there to see all of the config options. Do not modify that file.
Dave
Always wear safety glasses while programming.
Thank a bunch...I changed the MPASM file back to FCMEM and made the PBP .INC to match, also set it to the internal OSC as you showed.You code appears that you want to use the internal OSC but the configs show an external.
Try this
_FOSC_INTOSC_HS_1H
in place of
_FOSC_HSPLL_HS_1H
You can go to the MPASM Suite in program files\microchip, look at the *.inc file there to see all of the config options. Do not modify that file.![]()
Are you up and running now?
Dave
Always wear safety glasses while programming.
Bookmarks