wcgan
Member level 2
Hi all,
I have a project, below is the requirement:
-> Control LED brightness + blinking rate(OnTime and OFFtime).
I am able to control the LED brightness using PWM.
My idea is using Timer to set the blinking. How can I compile the PWM and TIMER together?
Microcontroller: Freescale (MC9S08JM16)
example:
I need to set the LED as below state:
LED blinking (OnTime:500ms, OffTime:500ms, Brightness:50%)?
Thanks for your help.
Regards,
wcgan
I have a project, below is the requirement:
-> Control LED brightness + blinking rate(OnTime and OFFtime).
I am able to control the LED brightness using PWM.
My idea is using Timer to set the blinking. How can I compile the PWM and TIMER together?
Microcontroller: Freescale (MC9S08JM16)
example:
I need to set the LED as below state:
LED blinking (OnTime:500ms, OffTime:500ms, Brightness:50%)?
Thanks for your help.
Regards,
wcgan