You don't really need a new line for every config directive unless you want to place a
comment on each line explaining what each config statement is.
This works, and saves a boat-load of typing;
@ DEVICE PIC16F886, HS_OSC, PWRT_OFF, PROTECT_ON, WDT_OFF, LVP_OFF
@ DEVICE2 BOR21V
The @ DEVICE2 line doesn't work with or need the target PIC, and placing PIC16F886 on
each new line is just redundant information.
This also works, but why bother typing in the same thing over, and over again?
@ DEVICE PIC16F886, HS_OSC
@ DEVICE HS_OSC, PWRT_OFF
@ DEVICE HS_OSC, PWRT_OFF, PROTECT_ON
@ DEVICE HS_OSC, PWRT_OFF, PROTECT_ON, WDT_OFF
@ DEVICE HS_OSC, PWRT_OFF, PROTECT_ON, WDT_OFF, LVP_OFF
@ DEVICE2 BOR21V
Bookmarks