Here is the code,

Similar idea as first post and still cant get LED flashing even after adding a line for device, i do get RA.6 low but still dont flash yet. without this device line, the pin stays high.



@ INCLUDE "16F886.INC"
Include "bs2defs.bas"

@ DEVICE PIC16F886, INTOSCIO,WDT_ON,MCLR_OFF,LVP_OFF,PROTECT_OFF,BOD_O FF,CPD_OFF,IESO_OFF,FCMEN_OFF,PWRT_OFF 'Device line
define osc 4
OSCCON=%01100000
'ANSEL=0
'ANSELH=0
' ADCON1=$0F ' all digital
'adcon0.0 = %0
ANSEL=%00000000
trisa= %00000000 '%00011100 used in upgrade
'porta=%00000000
' ADCON0 = $00
'cm1con0.7=0
'cm2con0.7=0
'CM1CON0=0 ' need it?
'CM2CON0=0 ' need it?




'CM1CON0 = 0
'CM2CON0 = 0

run:
high 6
pause 1000
low 6
pause 1000
goto run