I have some problems with MicroCode Studio, I've tried to compile a simple program that turns on and off a LED using pic18f4550, I've change the INC file for the compiler get off the warning CONFIG Directive. But now I got this error message:
Error[128] c:\pbp246\18f4550.inc 20: Missing argument(s) (configuration byte setting is missing)
Error[128] c:\pbp246\18f4550.inc 21: Missing argument(s) (configuration byte setting is missing)
Error[128] c:\pbp246\18f4550.inc 22: Missing argument(s) (configuration byte setting is missing)
Error[128] c:\pbp246\18f4550.inc 23: Missing argument(s) (configuration byte setting is missing)
Error[128] c:\pbp246\18f4550.inc 24: Missing argument(s) (configuration byte setting is missing)
I'm new programing pic's and i don't understand the error, please please help me!!!!
here's how the INC file says:
Code:;**************************************************************** ;* 18F4550.INC * ;* * ;* By : Leonard Zerman, Jeff Schmoyer * ;* Notice : Copyright (c) 2004 microEngineering Labs, Inc. * ;* All Rights Reserved * ;* Date : 12/31/04 * ;* Version : 2.46 * ;* Notes : * ;**************************************************************** NOLIST ifdef PM_USED LIST "Error: PM does not support this device. Use MPASM." NOLIST else LIST LIST p = 18F4550, r = dec, w = -311, f = inhx32 INCLUDE "P18F4550.INC" ; MPASM Header CONFIG = CONFIG1L, _PLLDIV_5_1L & _CPUDIV_OSC1_PLL2_1L & _USBDIV_2_1L CONFIG = CONFIG1H, _FOSC_HSPLL_HS_1H CONFIG = CONFIG2H, _WDT_ON_2H & _WDTPS_128_2H CONFIG = CONFIG3H, _PBADEN_OFF_3H CONFIG = CONFIG4L, _LVP_OFF_4L & _ICPRT_OFF_4L & _XINST_OFF_4L NOLIST endif LIST EEPROM_START EQU 0F00000h BLOCK_SIZE EQU 32




Bookmarks