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

Back to Subject List

Old thread has been locked -- no new posts accepted in this thread
???
05/23/06 12:51
Read: times


 
#116915 - next problem
Responding to: ???'s previous message
first, thank you all for your helpful replys, especially kai klaas postings were helpful, a special thank to him! i've initialised the timer now but now i've the problem with saving the values of the Timer2.
The Cookbook says: When a recurring external event is represented in the form of rising or falling edges on one of the four capture pins, the time between two events can be measured usng Timer T2 and a capture registers.
In my case the capture pin is the pin CT0I. I've no idea how to measure the time now between 2 following square signals. i thought to save the value of CT0I on a register, eg.r7. But how can the difference be built now? please help me.

greetings



source code:
here the link to the code

List of 51 messages in thread
TopicAuthorDate
measuring illumination by tsl220            01/01/70 00:00      
   sh.. project            01/01/70 00:00      
   PROCESSOR !            01/01/70 00:00      
      processor 80c552            01/01/70 00:00      
         why CCU? KISS            01/01/70 00:00      
            ccu is necessary            01/01/70 00:00      
               who is making it?            01/01/70 00:00      
                  well, thats true but....            01/01/70 00:00      
         Look at this            01/01/70 00:00      
   any programmes?            01/01/70 00:00      
      why not source code 1??            01/01/70 00:00      
         programmes=source codes;)            01/01/70 00:00      
            I agree            01/01/70 00:00      
               ok            01/01/70 00:00      
                  You are a lazy bone!!            01/01/70 00:00      
               source code 1            01/01/70 00:00      
                  you have still not explained ...            01/01/70 00:00      
   You need frequency counter. Look here.            01/01/70 00:00      
   elaborationg on simple solution            01/01/70 00:00      
      relax            01/01/70 00:00      
         blatantly untrue            01/01/70 00:00      
            please apologize            01/01/70 00:00      
               Timer2-what for?            01/01/70 00:00      
                  here's the exact definition of the prblm            01/01/70 00:00      
                     how do i attach files in the postings?            01/01/70 00:00      
                        Posting file listings            01/01/70 00:00      
                     Have a look again...            01/01/70 00:00      
                        ok, i'll do this immediately.            01/01/70 00:00      
                     Capture registers            01/01/70 00:00      
                     E-mail address            01/01/70 00:00      
                        mail adress            01/01/70 00:00      
   next problem            01/01/70 00:00      
      not spilling the beans            01/01/70 00:00      
   link forgotten sorry            01/01/70 00:00      
      In english...            01/01/70 00:00      
      CPT registers            01/01/70 00:00      
         maybe at this time he is in his little            01/01/70 00:00      
            happy about all postings            01/01/70 00:00      
               re flag            01/01/70 00:00      
                  re:re:flags            01/01/70 00:00      
                     You have to set the flag!            01/01/70 00:00      
         Do you have a simulator?            01/01/70 00:00      
            re:simulator            01/01/70 00:00      
               Single Stepping            01/01/70 00:00      
   save capture before next capture            01/01/70 00:00      
      Capture registers            01/01/70 00:00      
   The cookbook            01/01/70 00:00      
   code finished, but small error            01/01/70 00:00      
      atomicity            01/01/70 00:00      
      Who is Hans Meiser???            01/01/70 00:00      
         hans meiser!            01/01/70 00:00      

Back to Subject List