Jump to content

Lucian

Members
  • Content Count

    2
  • Joined

  • Last visited

Community Reputation

0 Neutral

About Lucian

  • Rank
    Newbrie
  1. I think we don't have. You can make your own function. I have a sample code made long back. see if it can help u. Its made for PIC16F72, 1mhz RC clock. #include <system.h> // Set clock frequency to 1MHz. #pragma CLOCK_FREQ 1000000 //set configuration fuse. #pragma DATA _CONFIG, _RC_OSC & _WDT_OFF & _CP_OFF & _PWRTE_OFF int duty_cycle; //global variable /*Interrupt service routine (ISR).On timer2 interrupt, program will jump to this code location. */ void interrupt( void ) { char pulse; /*generate two 50hz 180 degree out of phase pulses & externally AND it wit
  2. Are there functions in Sourceboost C Compiler for PWM?
×
×
  • Create New...