All three of you where right. Thank you all. Deleted the "LED low" command (wich I added after nothing happened). Added "CMCON = 7" as Shawn suggested. Now it works. Grrrmmm three lousy bits, many days no sleep...
@Demon: Both ways work. But if the CONFIG is in the include file, it mustn't be in the program and vice versa.
Bookmarks