• Welcome to our site! Electro Tech is an online community (with over 170,000 members) who enjoy talking about and building electronic circuits, projects and gadgets. To participate you need to register. Registration is free. Click here to register now.


  1. P

    PWM frequency problem PIC MicroC

    Hello I want to generate a PWM for my application. I am using PIC16F1939, MicroC and PICkit 2 to burn the program. Here's my code- void interrupt() { if (TMR2IF_bit == 1) { CCPR1L = 100; TMR2IF_bit = 0; } } void main() { C1ON_bit = 0; C2ON_bit = 0; //...

Latest threads

EE World Online Articles