Email: Password: Remember Me | Create Account (Free)

Back to Subject List

Old thread has been locked -- no new posts accepted in this thread
???
03/18/09 12:15
Read: times


 
#163570 - Plz ...
Responding to: ???'s previous message
Dear sir...could u please modify the same in my code.

$mod51
org 2000h
start:
clr p3.5 ;for FND common point

mov dptr,#lookup
x1a: clr a
movc a,@a+dptr

x2a: mov p1,a
call delay500ms
call delay500ms

inc dptr
jmp x1a

;-----------------------------------

delay500ms:
call delay100ms
call delay100ms
call delay100ms
call delay100ms
call delay100ms
ret

delay100ms:
mov r7,#100
x4: call delay1ms
djnz r7,x4
ret
delay1s:
mov r6,#10
x5: call delay100ms
djnz r6,x5
ret
delay1ms:
mov r2,#10
x3: mov r1,#49
x2: djnz r1,x2
djnz r2,x3
ret
;----------------------------------------------------------------
;COMMON ANODE TYPE LOOKUP TABLE
lookup: ;org 2500h
db "A" "B" "C"
end


List of 17 messages in thread
TopicAuthorDate
"FND Display "            01/01/70 00:00      
   formatted code            01/01/70 00:00      
      What is FND display?            01/01/70 00:00      
   FND picture            01/01/70 00:00      
      where did you get that name from?            01/01/70 00:00      
         It's a Fairchild prefix            01/01/70 00:00      
            Thanks...            01/01/70 00:00      
      7-Segment Lookup Table - Example            01/01/70 00:00      
   pattern not ASCII            01/01/70 00:00      
      Plz ...            01/01/70 00:00      
         A bit of summing up for you to do            01/01/70 00:00      
            Also check for CA/CC            01/01/70 00:00      
               source/sink            01/01/70 00:00      
            Clarification: Segments and Bits            01/01/70 00:00      
   Vijay,            01/01/70 00:00      
      If you want characters, then use characters!            01/01/70 00:00      
   Hardware?            01/01/70 00:00      

Back to Subject List