Demo Setup
4.3.2 Demo 2 - Preset Colors Display
1.Press the tab key in the PC keyboard.
2.The output is switched to another preset color after the tab key has been pressed each time.
NOTE
You can adjust the output color any time through the control menu.
4.3.3 Demo 3 - Auto White Balance Control
1.Press F until PWM frequency is set to 120 Hz.
2.Press W to toggle to AUTO white balance control.
3.Type 2000 at line of input green. The green PWM output value should then show 2000.
4.The red and blue PWM values are adjusted automatically to keep the output at the existing color temperature.
Note:
Pressing T can change the output to another preset color temperature.
Pressing the + or − key can gradually increase or decrease the output intensity. Use the + or − keys from the main keyboard area instead of those near the NUM lock key pad.
Max PWM input range is decreased if setting to a higher PWM frequency.
4.3.4 Demo 4 - PWM Output Frequency Control
1.Press W to toggle the output to AUTO mode.
2.Pressing F can switch the PWM output among different preset frequencies.
3.The flicking phenomenon is more significant at the lower frequency such as at 30 Hz. The flicking can be removed by setting PWM to higher frequencies.
NOTE
The output brightness is changed after changing the frequency. As the PWM output values remain the same, a change in PWM frequency modifies the PWM duty as well.
As the frequency increases, the max allowable PWM input range decreases because the PWM value for 100%
4.3.5 Demo 5 - Full Manual Control
1.Press F until PWM frequency change to 120Hz
2.Press W to toggle the output to MANUAL mode.
3.Press R to switch to manual red channel input.
4.Type 2000 at the Input red line.
5.Press G to switch to manual green channel input.
6.Type 0000 at the Input green line.
7.Press B to switch to manual blue channel input.
8.Type 2000 at the input blue line.
9.The output color is purple. You can repeat the steps with different PWM values for different output colors and intensities.
LED Lighting Control using the MC9S08AW60, Rev. 1
32 | Freescale Semiconductor |