1. 1.
    0
    org 0000h
    loop:
    mov b, #0FFh
    acall delay
    clr p1.0
    mov b, #0FFh
    acall delay
    mov p1, #0FFh

    ajmp loop

    delay:
    djnz acc, delay
    mov acc, #0FFh
    djnz b, delay
    ret
    end
    ···
   tümünü göster