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

Back to Subject List

Old thread has been locked -- no new posts accepted in this thread
???
01/09/02 19:49
Read: times


 
#18491 - Help!
HI,
here are some question that i not sure about it, please help!

1.for lcd initialize, mov a, #38h, do we really need to send it 3 times. why?

2. READY:
SETB P1.7 ;make p1.7 input port
CLR RS ;RS=0 access command reg
SETB RW ;R/W=1 read command reg
BACK:
CLR CE ;E=1 for H to L pulse
SETB CE ;E=0 H to L pulse
JB P1.7,BACK ;stay until busy flag=0
RET
and
READY:
SETB P1.7 ;make p1.7 input port
CLR RS ;RS=0 access command reg
SETB RW ;R/W=1 read command reg
CLR CE ;E=1 for H to L pulse
SETB CE ;E=0 H to L pulse
JB P1.7,$ ;stay until busy flag=0
RET
are the two code the same? what actually the sign $ mean?

3. what the main effect on the using the acall and lcall instruction?

4. if i using the crystal of 12MHz, how can i generate the baud rate of
9600? or any suggestion.
thanx in advance for any reply.

List of 7 messages in thread
TopicAuthorDate
Help!            01/01/70 00:00      
RE: Help!            01/01/70 00:00      
RE: Help!            01/01/70 00:00      
RE: Help!            01/01/70 00:00      
RE: 8% error in buad is OK !            01/01/70 00:00      
RE: Help!            01/01/70 00:00      
RE: Help!            01/01/70 00:00      

Back to Subject List