Pwm c source code needed!!! Please!!

Discussion in 'Programmer's Corner' started by Rk17, May 25, 2011.

  1. Rk17

    Thread Starter Member

    Apr 23, 2011
    Hey guys I need your help on how to control a servo with pwm.. can someone please share me a link or source code written in c language.. im using mplab v8.66; pic16F84A; hi-tech c compiler;

    --i already know how to control a dc motor via h-bridge but i want to explore more by using servos problem is i cant look somewhere in the net for a simple c code on how to control one.. hope that someone might be kind enough to help me tnx in advnce!!!

    p.s just a simple code in c, easy for a begginers point of view.. tnx
  2. beenthere

    Retired Moderator

    Apr 20, 2004