When you set your configs inside your code, you must edit out the defaults that are contained in your c:/pbp/16f1827.inc file. Otherwise, they will try to overwrite eachother, and you will get the errors you got.

Check out this page, especially the "don't forget" part....

http://www.picbasic.co.uk/forum/cont...o-your-Program

(Mpasm is a must with this chip, but it is also the way to go. Most of the includes files written here require it as well).

Walter