Hi,
With versions prior to PBP3 you need to have the CONFIG directive either in your program OR in the default inc file. You get the error when you're trying to have it both ways at the same time.
All devices have their default CONFIG in their respective .inc file so if you need to change it you have two options:
A) Open the .inc file and comment out the CONFIG directive there, then add it to you your source file containing the needed changes.
B) Open the .inc file and EDIT the CONFIG directive there so that it matches what you need - don't add it to your source.
I don't have 2.6 on this machine but with PBP3 the 16F819 defaults to HS_OSC which is probably why it doesn't work with the defualt CONFIG.
/Henrik.
Bookmarks