write this code: T1CON.3 = 0




@__config _INTRC_OSC_NOCLKOUT & _MCLRE_OFF

CMCON = 7
'VRCON = 0
'WPU = 0 'no wake pullup
'IOCB = 0 'no int. on change
ANSEL = %00000000 '16tosc gpio0 input analogico
ADCON0 = 0 'right just , Vref=Vdd , ch.0 , A/D on
T1CON = %11110101
T1CON.3 = 0
'OPTION_REG.7 = 0

TRISIO=%001000

LEDT1 var GPIO.1
LEDT2 var GPIO.2
Power var GPIO.5



B0 var byte
B1 var byte
B2 var byte
I var byte
N var byte
O var byte
S1 var byte
S2 var byte
S3 var byte

high power
start:
' gosub light
high GPIO.4
high GPIO.5
pause 500
low GPIO.4
low GPIO.5
pause 500
goto start