Configs are a pain. Here is one that should work for you. PBP3 makes it easier, once the configs are right. Just put this into your code.
Code:#config ; 18F13K50/14K50 Only 12mhz crystal can be used for USB ; __CONFIG _CONFIG1L, _CPUDIV_NOCLKDIV_1L & _USBDIV_OFF_1L ; __CONFIG _CONFIG1H, _FOSC_HS_1H & _PLLEN_ON_1H & _PCLKEN_ON_1H & _FCMEN_OFF_1H & _IESO_OFF_1H #endconfig
Bookmarks