[Okta Webinar] Learn how to a build a cloud-first strategyRegister Now

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 2786
  • Last Modified:

PWM of PIC16f877

Hi everyone,

I have set up a 40Khz oscillator using PWM utility, using the following code
// pic @ 4 mhz, prescaler 1

TRISC =0x00;
PORTC =0x00;
CCPR1L =0x0C;
CCP1CON =0x2C;
PR2 =0x18;
T2CON =0x04;

I want to know how to send 10 pulses only with a delay of 30 msec in between two pulse trains.

Please help,

Cheers,

vpool
0
vpool
Asked:
vpool
1 Solution

Featured Post

Prep for the ITIL® Foundation Certification Exam

December’s Course of the Month is now available! Enroll to learn ITIL® Foundation best practices for delivering IT services effectively and efficiently.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now