Lampu kedip ( LED BLINK ) 8051 (at89c51, at89c52, at89s51, at89s52) dengan kode sumber assembly
org 00h
mov P0,#00h
mulai: setb P0.0 ;pin IC no 39
acall tunda
clr P0.0 ;pin IC no 39
acall tunda
sjmp mulai
tunda: nop
loop1: mov r2,#200
loop2: mov r3,#250
nop
nop
djnz r2,loop2
djnz r3,loop1
ret
end
Download gambar kode dan file hex DISINI
Kode, skema, dan file hex juga bisa berfungis di IC lain seperti
at89s51
at89s52
at89c51
at89c52
dan yang sejenis dari 8051
Skema dibuat dengan inkscape, edit blog di linux firefox, kode assembler compiler dengan ASEM51
dibuat di BATAM, Tajirtronik
Kata terkait:
IC Mikrokontroler 8051, assembly code, led blink, lampu kedip, minsys 8051, atmel at89s51, at89s52, at89c51, at89c52, source code, file hex

