Arkadaşlar pic basic pro2.47 ile derlediğim microcode studio ile yazdığım program aşağıdadır .derleme esnasında bi problem çıkmadı ama isis de 8 saniye sonra aşağıdaki hatayı veriyo nedendir anlamadım ilk defa böyle bişey geldi başıma
'****************************************************************
'* name : untitled.bas *
'* author : [select view...editor options] *
'* notice : copyright (c) 2008 [select view...editor options] *
'* : all rights reserved *
'* date : 14.06.2008 *
'* version : 1.0 *
'* notes : *
'* : *
'****************************************************************
adcon1=7
trisa=0
trisb=%00000001
trisc=0
trisd=0
trise=0
led1 var porta.0
led2 var porta.1
led3 var porta.2
led4 var porta.3
led5 var porta.4
led6 var porta.5
led7 var porte.0
led8 var porte.1
led9 var porte.2
led10 var portb.0
led11 var portc.0
led12 var portc.1
led13 var portc.2
led14 var portc.3
led15 var portd.0
led16 var portd.1
led17 var portd.2
led18 var portd.3
led19 var portc.4
led20 var portc.5
led21 var portc.6
led22 var portc.7
led23 var portd.4
led24 var portd.5
a var byte
call led_sondur
led1=1
pause 100
call led_sondur
led2=1
for a=1 to 5
pwm led1,125,5
next a
call led_sondur
led3=1
for a=1 to 100
pwm led2,125,5
pwm led1,70,5
next a
call led_sondur
led4=1
for a=1 to 5
pwm led3,125,5
pwm led2,70,5
next a
call led_sondur
led5=1
for a=1 to 5
pwm led4,125,5
pwm led3,70,5
next a
call led_sondur
led6=1
for a=1 to 5
pwm led5,125,5
pwm led4,70,5
next a
call led_sondur
led7=1
for a=1 to 5
pwm led6,125,5
pwm led5,70,5
next a
call led_sondur
led8=1
for a=1 to 5
pwm led7,125,5
pwm led6,70,5
next a
call led_sondur
led9=1
for a=1 to 5
pwm led8,125,5
pwm led7,70,5
next a
call led_sondur
led10=1
for a=1 to 5
pwm led9,125,5
pwm led8,70,5
next a
call led_sondur
led11=1
for a=1 to 5
pwm led10,125,5
pwm led9,70,5
next a
call led_sondur
led12=1
for a=1 to 5
pwm led11,125,5
pwm led10,70,5
next a
call led_sondur
led13=1
for a=1 to 5
pwm led12,125,5
pwm led11,70,5
next a
call led_sondur
led14=1
for a=1 to 5
pwm led13,125,5
pwm led12,70,5
next a
call led_sondur
led15=1
for a=1 to 5
pwm led14,125,5
pwm led13,70,5
next a
call led_sondur
led16=1
for a=1 to 5
pwm led15,125,5
pwm led14,70,5
next a
call led_sondur
led17=1
for a=1 to 5
pwm led16,125,5
pwm led15,70,5
next a
call led_sondur
led18=1
for a=1 to 5
pwm led3,125,5
pwm led2,70,5
next a
call led_sondur
led19=1
for a=1 to 5
pwm led18,125,5
pwm led17,70,5
next a
call led_sondur
led20=1
for a=1 to 5
pwm led19,125,5
pwm led18,70,5
next a
call led_sondur
led21=1
for a=1 to 5
pwm led20,125,5
pwm led19,70,5
next a
call led_sondur
led22=1
for a=1 to 5
pwm led21,125,5
pwm led20,70,5
next a
call led_sondur
led23=1
for a=1 to 5
pwm led22,125,5
pwm led21,70,5
next a
call led_sondur
led24=1
for a=1 to 5
pwm led23,125,5
pwm led22,70,5
next a
call led_sondur
led24=1
for a=1 to 5
pwm led23,125,5
next a
call led_sondur
led4=1
call led_sondur
'burdan sonrasi gerİ dÖnÜŞ
led23=1
for a=1 to 5
pwm led24,125,5
next a
call led_sondur
led22=1
for a=1 to 5
pwm led23,125,5
pwm led24,70,5
next a
call led_sondur
led21=1
for a=1 to 5
pwm led22,125,5
pwm led23,70,5
next a
call led_sondur
led20=1
for a=1 to 5
pwm led21,125,5
pwm led22,70,5
next a
call led_sondur
led19=1
for a=1 to 5
pwm led20,125,5
pwm led21,70,5
next a
call led_sondur
led18=1
for a=1 to 5
pwm led19,125,5
pwm led20,70,5
next a
call led_sondur
led17=1
for a=1 to 5
pwm led18,125,5
pwm led19,70,5
next a
call led_sondur
led16=1
for a=1 to 5
pwm led17,125,5
pwm led18,70,5
next a
call led_sondur
led15=1
for a=1 to 5
pwm led16,125,5
pwm led17,70,5
next a
call led_sondur
led14=1
for a=1 to 5
pwm led15,125,5
pwm led16,70,5
next a
call led_sondur
led13=1
for a=1 to 5
pwm led14,125,5
pwm led15,70,5
next a
call led_sondur
led12=1
for a=1 to 5
pwm led13,125,5
pwm led14,70,5
next a
call led_sondur
led11=1
for a=1 to 5
pwm led12,125,5
pwm led13,70,5
next a
call led_sondur
led10=1
for a=1 to 5
pwm led11,125,5
pwm led12,70,5
next a
call led_sondur
led9=1
for a=1 to 5
pwm led10,125,5
pwm led11,70,5
next a
call led_sondur
led8=1
for a=1 to 5
pwm led9,125,5
pwm led10,70,5
next a
call led_sondur
led7=1
for a=1 to 5
pwm led8,125,5
pwm led9,70,5
next a
call led_sondur
led6=1
for a=1 to 5
pwm led7,125,5
pwm led8,70,5
next a
call led_sondur
led5=1
for a=1 to 5
pwm led6,125,5
pwm led7,70,5
next a
call led_sondur
led4=1
for a=1 to 5
pwm led5,125,5
pwm led6,70,5
next a
call led_sondur
led3=1
for a=1 to 5
pwm led4,125,5
pwm led5,70,5
next a
call led_sondur
led2=1
for a=1 to 5
pwm led3,125,5
pwm led4,70,5
next a
call led_sondur
led1=1
for a=1 to 5
pwm led2,125,5
pwm led3,70,5
next a
call led_sondur
led_sondur:
porta=0
portc=0
portd=0
porte=0
portb=0
return
end
'****************************************************************
'* name : untitled.bas *
'* author : [select view...editor options] *
'* notice : copyright (c) 2008 [select view...editor options] *
'* : all rights reserved *
'* date : 14.06.2008 *
'* version : 1.0 *
'* notes : *
'* : *
'****************************************************************
adcon1=7
trisa=0
trisb=%00000001
trisc=0
trisd=0
trise=0
led1 var porta.0
led2 var porta.1
led3 var porta.2
led4 var porta.3
led5 var porta.4
led6 var porta.5
led7 var porte.0
led8 var porte.1
led9 var porte.2
led10 var portb.0
led11 var portc.0
led12 var portc.1
led13 var portc.2
led14 var portc.3
led15 var portd.0
led16 var portd.1
led17 var portd.2
led18 var portd.3
led19 var portc.4
led20 var portc.5
led21 var portc.6
led22 var portc.7
led23 var portd.4
led24 var portd.5
a var byte
call led_sondur
led1=1
pause 100
call led_sondur
led2=1
for a=1 to 5
pwm led1,125,5
next a
call led_sondur
led3=1
for a=1 to 100
pwm led2,125,5
pwm led1,70,5
next a
call led_sondur
led4=1
for a=1 to 5
pwm led3,125,5
pwm led2,70,5
next a
call led_sondur
led5=1
for a=1 to 5
pwm led4,125,5
pwm led3,70,5
next a
call led_sondur
led6=1
for a=1 to 5
pwm led5,125,5
pwm led4,70,5
next a
call led_sondur
led7=1
for a=1 to 5
pwm led6,125,5
pwm led5,70,5
next a
call led_sondur
led8=1
for a=1 to 5
pwm led7,125,5
pwm led6,70,5
next a
call led_sondur
led9=1
for a=1 to 5
pwm led8,125,5
pwm led7,70,5
next a
call led_sondur
led10=1
for a=1 to 5
pwm led9,125,5
pwm led8,70,5
next a
call led_sondur
led11=1
for a=1 to 5
pwm led10,125,5
pwm led9,70,5
next a
call led_sondur
led12=1
for a=1 to 5
pwm led11,125,5
pwm led10,70,5
next a
call led_sondur
led13=1
for a=1 to 5
pwm led12,125,5
pwm led11,70,5
next a
call led_sondur
led14=1
for a=1 to 5
pwm led13,125,5
pwm led12,70,5
next a
call led_sondur
led15=1
for a=1 to 5
pwm led14,125,5
pwm led13,70,5
next a
call led_sondur
led16=1
for a=1 to 5
pwm led15,125,5
pwm led14,70,5
next a
call led_sondur
led17=1
for a=1 to 5
pwm led16,125,5
pwm led15,70,5
next a
call led_sondur
led18=1
for a=1 to 5
pwm led3,125,5
pwm led2,70,5
next a
call led_sondur
led19=1
for a=1 to 5
pwm led18,125,5
pwm led17,70,5
next a
call led_sondur
led20=1
for a=1 to 5
pwm led19,125,5
pwm led18,70,5
next a
call led_sondur
led21=1
for a=1 to 5
pwm led20,125,5
pwm led19,70,5
next a
call led_sondur
led22=1
for a=1 to 5
pwm led21,125,5
pwm led20,70,5
next a
call led_sondur
led23=1
for a=1 to 5
pwm led22,125,5
pwm led21,70,5
next a
call led_sondur
led24=1
for a=1 to 5
pwm led23,125,5
pwm led22,70,5
next a
call led_sondur
led24=1
for a=1 to 5
pwm led23,125,5
next a
call led_sondur
led4=1
call led_sondur
'burdan sonrasi gerİ dÖnÜŞ
led23=1
for a=1 to 5
pwm led24,125,5
next a
call led_sondur
led22=1
for a=1 to 5
pwm led23,125,5
pwm led24,70,5
next a
call led_sondur
led21=1
for a=1 to 5
pwm led22,125,5
pwm led23,70,5
next a
call led_sondur
led20=1
for a=1 to 5
pwm led21,125,5
pwm led22,70,5
next a
call led_sondur
led19=1
for a=1 to 5
pwm led20,125,5
pwm led21,70,5
next a
call led_sondur
led18=1
for a=1 to 5
pwm led19,125,5
pwm led20,70,5
next a
call led_sondur
led17=1
for a=1 to 5
pwm led18,125,5
pwm led19,70,5
next a
call led_sondur
led16=1
for a=1 to 5
pwm led17,125,5
pwm led18,70,5
next a
call led_sondur
led15=1
for a=1 to 5
pwm led16,125,5
pwm led17,70,5
next a
call led_sondur
led14=1
for a=1 to 5
pwm led15,125,5
pwm led16,70,5
next a
call led_sondur
led13=1
for a=1 to 5
pwm led14,125,5
pwm led15,70,5
next a
call led_sondur
led12=1
for a=1 to 5
pwm led13,125,5
pwm led14,70,5
next a
call led_sondur
led11=1
for a=1 to 5
pwm led12,125,5
pwm led13,70,5
next a
call led_sondur
led10=1
for a=1 to 5
pwm led11,125,5
pwm led12,70,5
next a
call led_sondur
led9=1
for a=1 to 5
pwm led10,125,5
pwm led11,70,5
next a
call led_sondur
led8=1
for a=1 to 5
pwm led9,125,5
pwm led10,70,5
next a
call led_sondur
led7=1
for a=1 to 5
pwm led8,125,5
pwm led9,70,5
next a
call led_sondur
led6=1
for a=1 to 5
pwm led7,125,5
pwm led8,70,5
next a
call led_sondur
led5=1
for a=1 to 5
pwm led6,125,5
pwm led7,70,5
next a
call led_sondur
led4=1
for a=1 to 5
pwm led5,125,5
pwm led6,70,5
next a
call led_sondur
led3=1
for a=1 to 5
pwm led4,125,5
pwm led5,70,5
next a
call led_sondur
led2=1
for a=1 to 5
pwm led3,125,5
pwm led4,70,5
next a
call led_sondur
led1=1
for a=1 to 5
pwm led2,125,5
pwm led3,70,5
next a
call led_sondur
led_sondur:
porta=0
portc=0
portd=0
porte=0
portb=0
return
end