Picproje Elektronik Sitesi

DERLEYİCİLER => Diğer Derleyiciler => JAL => Konuyu başlatan: salihtolu - 16 Kasım 2008, 15:00:59

Başlık: jal ile Degişik bir kara şimşek
Gönderen: salihtolu - 16 Kasım 2008, 15:00:59
jal ile Degişik bir kara şimşek

--------------------------------------------------------------------------------

arkadaşlar bu örnekleri vermemdeki gaye bunlar üzerinde alıştırma yaparak pin,leri portları  nazıl kullanacagınızı ögrenmeniz içindir   dededen.



P - Kodu:
include 16f84_4
include jlib

port_b_direction = all_output
port_a = 0
port_b = 0
forever loop
port_b = 0b10000000
delay_50ms
port_b = 0b01000000
delay_50ms
port_b = 0b00100000
delay_50ms
port_b = 0b00010000
delay_50ms
port_b = 0b00001000
delay_50ms
port_b = 0b00000100
delay_50ms
port_b = 0b00000010
delay_50ms
port_b = 0b00000001
delay_50ms
 port_b = 0b00000000
delay_50ms
port_b = 0b00000001
delay_50ms
port_b = 0b00000010
delay_50ms
port_b = 0b00000100
delay_50ms
port_b = 0b00001000
delay_50ms
port_b = 0b00010000
delay_50ms
port_b = 0b00100000
delay_50ms
port_b = 0b01000000
delay_50ms
port_b = 0b10000000
delay_50ms
port_b = 0b00000000
delay_50ms
port_b = 0b11111111
delay_50ms
port_b = 0b00000000
delay_50ms
port_b = 0b11111111
delay_50ms
port_b = 0b00000000
delay_50ms
 
port_b = 0b10000001
delay_50ms
port_b = 0b01000010
delay_50ms
port_b = 0b00100100
delay_50ms
port_b = 0b00011000
delay_50ms
port_b = 0b00000000
delay_50ms
port_b = 0b10000001
delay_50ms
port_b = 0b11111111
delay_50ms
port_b = 0b00000000
delay_50ms
 
port_b = 0b00010000
delay_50ms
port_b = 0b00111000
delay_50ms
port_b = 0b01111100
delay_50ms
port_b = 0b11111111
delay_50ms
port_b = 0b11111111
delay_50ms
port_b = 0b00000000
delay_50ms
port_b = 0b11111111
delay_50ms
port_b = 0b00000000
delay_50ms
 
 port_b = 0b10000000
delay_50ms
port_b = 0b11000000
delay_50ms
port_b = 0b11100000
delay_50ms
port_b = 0b11110000
delay_50ms
port_b = 0b11111000
delay_50ms
port_b = 0b11111100
delay_50ms
port_b = 0b11111110
delay_50ms
port_b = 0b11111111
delay_50ms
port_b = 0b00000000
delay_50ms

 end loop
Başlık: jal ile Degişik bir kara şimşek
Gönderen: m4hmu7 - 05 Ocak 2009, 15:07:56
bu kodları hangi programda hexe çeviricem.(CCS, MBLAB)?
Başlık: jal ile Degişik bir kara şimşek
Gönderen: M_B - 05 Ocak 2009, 15:17:57
merhaba

jal 0.4.62 derleyıcı ile Hex cevirebilirsin.