zero2004
Member level 1
Hi every one
I try to work with PWM in my pic, i wrote my first attempt program in mikroc but it doesnt work, the program is
unsigned short i;
void main() {
PORTC = 0xff;
Pwm1_Init(5000);
Pwm1_Start();
Pwm1_set_Duty(123);
}
can you tell me the wrong in this program
thanks for your helping
I try to work with PWM in my pic, i wrote my first attempt program in mikroc but it doesnt work, the program is
unsigned short i;
void main() {
PORTC = 0xff;
Pwm1_Init(5000);
Pwm1_Start();
Pwm1_set_Duty(123);
}
can you tell me the wrong in this program
thanks for your helping