my light sensor code is half working as it turns on 1 light when it is dark and turns it off when it is not. Two problems, however. The light is green I need it to be white and also only one light is lighting up. Also, want the code to fade the light gradually. (my codes below) any help is appreciated.
#include <FastLED.h>
int LDR_Pin = A0;
int sensorValue;
const int ledPin = 5;
const int LedOn_StartMinLightLevel = 150;
op4732550:
my light sensor code is half working as it turns on 1 light when it is dark and turns it off when it is not. Two problems, however. The light is green I need it to be white and also only one light is lighting up. Also, want the code to fade the light gradually. (my codes below) any help is appreciated.
#include <FastLED.h>
int LDR_Pin = A0;
int sensorValue;
const int ledPin = 5;
const int LedOn_StartMinLightLevel = 150;