
Originally Posted by
NL2TTL
I trie to compile the example program, USBCDC but i get the following error:
Warning[230]c:\pbp\18f2550.inc 20: __CONFIG has been deprected for PIC18 devices. Use directive CONFIG.
Can anybody tell me what to do?
Its not an ERROR otherwise it would say "Error".
Its a WARNING that the syntax you are using to declare the configuration has been superceeded by a "new improved" version.
At the moment both methods work but in a later version of the assembler your declaration may no longer be supported.
There are several threads covering the topic.
http://www.picbasic.co.uk/forum/showthread.php?t=543
http://www.picbasic.co.uk/forum/showthread.php?t=4381
http://www.picbasic.co.uk/forum/showthread.php?t=3943
Hope that helps
Keith
www.diyha.co.uk
www.kat5.tv
Bookmarks