[A83] Re: Delay (sorry about so many questions..)
[Prev][Next][Index][Thread]
[A83] Re: Delay (sorry about so many questions..)
Don't be sorry, everyone has to learn sometime. This is a good way to
learn. There are many ways to slow things down, the halt command in a loop
works really well. To slow things down a lot, do something like this:
(note: the smaller the value you load into a, the shorter the delay. 4 is
just an example.)
ld b,4
Loop:
halt
halt
djnz Loop
for smaller delay, a prolonged loop might do the trick:
ld b,32
Loop:
;you can place other code here
djnz Loop
Hope this helps.
-Ross Palmer (TCPA)