initialization for 16f88

For C and ASSEMBLY users to post questions and code snippets for programming in C and ASSEMBLY. And for any other C or ASM course related questions.

Moderators: Benj, Mods

Post Reply
saravana_3
Posts: 61
Joined: Thu Dec 20, 2007 4:23 pm
Location: singapore
Contact:

initialization for 16f88

Post by saravana_3 »

:D Hi friends, i am a beginer for the embedded field, I am previousily using the 16f84, now I have to use the 16f88, at the time of initialization I set as __CONFIG _CONFIG1, _CP_OFF & _CCP1_RB0 & _DEBUG_OFF & _WRT_PROTECT_OFF & _CPD_OFF & _LVP_OFF & _BODEN_OFF & _MCLR_ON & _PWRTE_ON & _WDT_OFF & _INTRC_IO
ERRORLEVEL -302
after compiling the error shows Error[108] C:\KUMAR\PIC\MICSTA~1.ASM 12 : Illegal character (,)

but if use the same programme with the MPLAB it is able to compile, is any one know when I am using the ASM-IDE how to define.
saran

User avatar
Benj
Matrix Staff
Posts: 15312
Joined: Mon Oct 16, 2006 10:48 am
Location: Matrix TS Ltd
Has thanked: 4803 times
Been thanked: 4314 times
Contact:

Post by Benj »

Hello

If you are using our hardware then the config line can be left out of your program and PPP can be used to configure the chip.

Post Reply