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

Back to Subject List

Old thread has been locked -- no new posts accepted in this thread
???
02/21/05 15:17
Read: times


 
#88069 - second bit of help :-)
Responding to: ???'s previous message
Ro said:
How also does any one recomend I control 2 led's (P2.4 & P2.6) only when there is a zero input gone in for the stepper motor.


              ;place this somewhere after the password check
   mov  A,R3
   orl  A,R4
   jnz  NoLED
   mov  A,R6
   mov  C,ACC.4
   mov  P2.4,C
   mov  C,ACC.5
   mov  P2.6,C
NoLED:

Any other question?
:-)

Jan Waclawek

PS: I think you might need to mark the beginning of "packet" in some way; otherways after (unintentional) entering the wrong password (e.g. noise on the phone line - I suppose DTMF is going to be transferred via phone) you might lose trace where your program is... Some sort of synchronisation, and perhaps some checksum, too.



List of 7 messages in thread
TopicAuthorDate
More help please.            01/01/70 00:00      
   Advice !!!!            01/01/70 00:00      
      lookup table ?            01/01/70 00:00      
   a bit of advise            01/01/70 00:00      
      thanks            01/01/70 00:00      
   new binary codes?            01/01/70 00:00      
   second bit of help :-)            01/01/70 00:00      

Back to Subject List