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

Back to Subject List

Old thread has been locked -- no new posts accepted in this thread
???
06/01/03 20:21
Read: times


 
#47190 - removing from check list
Hey Fellows,
hope you all find this post in the best of your health:). Finally i figure out the pulse dialing stuff, really it wasn't the easy task. I have to check the code for entire intercom system like for 8 or 16 lines as at this stage it is working well with 2 lines. I know if i place the code every one will starting saying that why not this why not that and again a Jungle law will start on my post but just the flow chart which i followed:-

1) Now its clear that the pulse will last for 100 ms , so the low or high time cannot be more than 100millisecond.
2) and similarly the low and high time of any pulse cannot be less than 5ms second.
3) so firstly waiting for low to come on a bit then calling delay of 5ms,
4) increasing a counter checking if the previous and new state of bit is changed or not.
5) and also checking that the counter does not increase 20 decimal as 20 x 5 = 100.
6) same thing is done for high time also and final we can increase a pulse counter register for decoding the pulse dialing into decimal digit.


Now my question, i hope this time i ask hte question in a sensible manner..( God Help me to make them all understand me)


Now suppose i have following scheme


OFF-HOOK:
JB P2.0,TASK1
JB P2.1,TASK2
JB P2.2,TASK3
JB P2.3,OFF-HOOK


TASK1:

RET

TASK2:

RET

Now i want that the scanning for off-hook is done using the Michael's method of previous and new values but here to make it simple i have used jb command...now if the bit p2.0 is set high the scanning will contiue but next time when scanning starts i want bit p2.0 to be out of that list..how can this be done..



List of 26 messages in thread
TopicAuthorDate
removing from check list            01/01/70 00:00      
   RE: removing from check list            01/01/70 00:00      
      RE: removing from check list            01/01/70 00:00      
      RE: removing from check list            01/01/70 00:00      
      RE: removing from check list            01/01/70 00:00      
         RE: removing from check list            01/01/70 00:00      
   RE: removing from check list            01/01/70 00:00      
   RE: removing from check list            01/01/70 00:00      
      RE: removing from check list            01/01/70 00:00      
         RE: removing from check list            01/01/70 00:00      
            mahmood Elnasser            01/01/70 00:00      
         RE: removing from check list            01/01/70 00:00      
   same old war            01/01/70 00:00      
      RE: same old waqar            01/01/70 00:00      
      RE: same old war            01/01/70 00:00      
         Tutorials addition            01/01/70 00:00      
         RE: same old war            01/01/70 00:00      
            RE: same old war            01/01/70 00:00      
         RE: same old war            01/01/70 00:00      
         Stepper Motor Control            01/01/70 00:00      
            RE: Stepper Motor Control            01/01/70 00:00      
               RE: Stepper Motor Control            01/01/70 00:00      
                  RE: Stepper Motor Control            01/01/70 00:00      
   i will make the circuit            01/01/70 00:00      
      Congratulations - Mike            01/01/70 00:00      
         RE: Congratulations - Mike            01/01/70 00:00      

Back to Subject List