Hello LIGO..u are doing a great job..i am a newbie in microcontroller and i must confess this site helped me tremendously..i am trying to generate PWM pulses for certain applications..But PWM frequency is 100kHz..can i use the code available on this website https://electrosome.com/pwm-pic-microcontroller/ i am using PIC16F876A micro..THAnk u in advance