prmurthy
Full Member level 5
Hello,
I need help or source code in C for LED on/Off which based in PWM. I was able to make fade in fade out but struggling to make the LED on/off, may be I have not understood the pwm properly. What I need is the rate of on and off should be based on pwm duty cycle. Please help me I need to complete my school project.
Thanks
---------- Post added at 07:40 ---------- Previous post was at 07:30 ----------
Please I can use Mikro C for this project as it has built PWM module. But I need to understand the PWM function in a better way, hence I request if somebody can help me in building up the code in Hi-Tech C, Thanks
I need help or source code in C for LED on/Off which based in PWM. I was able to make fade in fade out but struggling to make the LED on/off, may be I have not understood the pwm properly. What I need is the rate of on and off should be based on pwm duty cycle. Please help me I need to complete my school project.
Thanks
---------- Post added at 07:40 ---------- Previous post was at 07:30 ----------
Please I can use Mikro C for this project as it has built PWM module. But I need to understand the PWM function in a better way, hence I request if somebody can help me in building up the code in Hi-Tech C, Thanks