Author Topic: CCP PWM mode in PIC (S.O.S)  (Read 2030 times)

0 Members and 1 Guest are viewing this topic.

Offline danielksTopic starter

  • Contributor
  • Posts: 19
  • Country: my
  • Newbie from Malaysia
CCP PWM mode in PIC (S.O.S)
« on: August 31, 2011, 10:35:45 am »
Is it possible to configure CCPR1L with decimal point duty cycle ? such as 0.5% DC. Can anyone help me ? :-\
 

Offline ElektroQuark

  • Supporter
  • ****
  • Posts: 1244
  • Country: es
    • ElektroQuark
Re: CCP PWM mode in PIC (S.O.S)
« Reply #1 on: August 31, 2011, 10:39:25 am »
Use an 1% DC but half the frequency.

Offline danielksTopic starter

  • Contributor
  • Posts: 19
  • Country: my
  • Newbie from Malaysia
Re: CCP PWM mode in PIC (S.O.S)
« Reply #2 on: August 31, 2011, 10:57:34 am »
Sorry I dont get what you mean. Let say I need to control a Servo.  The frequency will be around 50Hz any lower frequency will cause the servo to malfunction.
 


Share me

Digg  Facebook  SlashDot  Delicious  Technorati  Twitter  Google  Yahoo
Smf