I have searched the forum and have not found the answer (at least one that is obvious to me, not saying it isn't here) that I need to the following task.
I have an inexpensive RGB LED strip (5m) such as this that I would like to use to simulate different lighting conditions such as outlined here. This site gives the RGB values for each lighting scenario in a few charts on the web page. Such as: Candle light as: R=255, G=147, B=141.
I have breadboarded and tested the circuit I need to control the LEDs and have written some very simple programs to control the LEDs via pwmout/pwmduty. But I am at a loss as to what values I would use in the pwm... commands to produce the RGB values as outlined in the charts.
Can someone tell me if the pwm setting can be the same as the lighting RGB values or would there be a formula that would need to be applied?
Thanks for the help.
I have an inexpensive RGB LED strip (5m) such as this that I would like to use to simulate different lighting conditions such as outlined here. This site gives the RGB values for each lighting scenario in a few charts on the web page. Such as: Candle light as: R=255, G=147, B=141.
I have breadboarded and tested the circuit I need to control the LEDs and have written some very simple programs to control the LEDs via pwmout/pwmduty. But I am at a loss as to what values I would use in the pwm... commands to produce the RGB values as outlined in the charts.
Can someone tell me if the pwm setting can be the same as the lighting RGB values or would there be a formula that would need to be applied?
Thanks for the help.