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

Back to Subject List

Old thread has been locked -- no new posts accepted in this thread
???
03/07/07 11:52
Read: times


 
#134454 - Will try that
Responding to: ???'s previous message
I did realized another issue, when PWMing, my TOR2 is no longer 65535. It will be the value i gave, which would mean depending on my input pulse duration and PWM frequency, there will be an overflow if its too big. This could be one of the problem which may explain the huge number when performing subtraction. There is only 1 CCU timer, and its being shared by my PWM (Output compare) and now Input capture.

Also, the values i got from my ICB, was stored in an array, and i just read this numbers from the serial. I assume it will enter ICB only when triggered and when it does, stores the number in my array and i just read of it.

Kai, how do i make a port echo the signal from the input? i suppose you mean using another port as an output and triggering that output when it enters my ICB to make sure it triggers correctly?

Thanks

List of 9 messages in thread
TopicAuthorDate
some assistance in input capture            01/01/70 00:00      
   what is an ICB?            01/01/70 00:00      
      input capture B            01/01/70 00:00      
         How are you getting the values?            01/01/70 00:00      
   Divide and conquer!            01/01/70 00:00      
      Will try that            01/01/70 00:00      
         example            01/01/70 00:00      
   How to perform subtract/multiple            01/01/70 00:00      
      Code Library            01/01/70 00:00      

Back to Subject List