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

Back to Subject List

Old thread has been locked -- no new posts accepted in this thread
???
06/18/05 19:20
Read: times


 
#95276 - Disable CCAPMn, then control pin
Responding to: ???'s previous message
Payam Soltany said:
PCA CookBook: ...a 0% duty cycle can be obtained by writing to the port pin directly with the CLR bit instruction...

Can a 100% duty cycle be similarly obtained by writing to the port pin directly with the SETB instruction?

I would think that when you want 0%, you would set CCAPMn to 0 and then take the respective pin low. Similarly for 100%, you would set CCAPMn to 0 and then take the respective pin high.


List of 3 messages in thread
TopicAuthorDate
Turn off/on the PWMed pin 'mannualy'            01/01/70 00:00      
   Disable CCAPMn, then control pin            01/01/70 00:00      
      Thanks Dan.            01/01/70 00:00      

Back to Subject List