In your 16F690.INC only comment out the __config line. Leave everything else
as-is.
Then something like this should work if you're disabling analog inputs & comparators;
Code:@MyConfig = _INTRC_OSC_NOCLKOUT & _WDT_OFF & _PWRTE_ON @MyConfig = MyConfig & _MCLRE_ON & _BOR_OFF @ __config MyConfig DEFINE OSC 4 i var byte ANSEL=0 ' all digital ANSELH=0 ' analog module disabled CM1CON0=0 CM2CON0=0 PortC = 0 TRISC = 0 main: portc = 0 pause 500 for i = 1 to 15 portC = i pause 150 next i goto main end
Bookmarks