I'm wondering if somebody could help me. I've wired up the board as per the guide, switched it on, and I do not see the LED lamp light up and placing my finger any of the photoresistors doesn't change the LED.
My serial output is as follows;
]]raw sensor Values red: 0 green: 0 Blue: 0
Mapped sensor Values red: 0 green: 0 Blue: 0
raw sensor Values red: 0 green: 0 Blue: 0
What have I done? Or what have I not done?
Appreciate any help.
An edit; shining a bright light over the LEDs does make the LED change albeit very faint;
|raw sensor Values | red: 7| green: 6| Blue: 9|
|Mapped sensor Values | red: 1| green: 1| Blue: 2|
|raw sensor Values | red: 7| green: 6| Blue: 8|
|Mapped sensor Values | red: 1| green: 1| Blue: 2|
I moved your topic to an appropriate forum category @ardaussie.
In the future, please take some time to pick the forum category that best suits the subject of your topic. There is an "About the _____ category" topic at the top of each category that explains its purpose.
To get the color rendering right you would need to match the INTENSITIES of the lights.
Now (depending on the specific LED) green is often much less intense than red or blue.
It also depends on the spectral content of the light from the LEDs.
SO you would need to choose a suitable current for each LED.
The current depends on the source and the forward voltage of the LED.
For simple experimentation if the green DOES look dim compared to the others you could increase the resistor values for the red and blue.