I have had a project idea that uses the arduino. It uses a photoresistor to sense the amount of light outside. In the morning as it gets lighter, one of two sets of LEDs come on, in the morning, the cool white LED's come on gradually. As it gets towards mid day, more of the warm white LEDs are mixed in so that at mid day, the two sets of LEDs are both on equally. Towards the evening, there will be less of the cool white LEDs on and more of the warm white LEDs on so that when it is completely dark, only warm white LEDs are on. After a certain time, the LEDs will fade out and turn off. This cycle will repeat in the morning. I have a plan of how the wiring will go but am not sure how to do the code. Any help would be appreciated.
I was thinking of basing my code on the AnalogInOutSerial sketch. This may be a very bad idea. I don't know. I have tried out the AnalogInOutSerial sketch and it worked. Apart from this, I have not tried anything. I am looking for help with the code.
electrowiz89:
Apart from this, I have not tried anything. I am looking for help with the code.
You might want to try the Gig's forum if you don't want to do it yourself. You could pay someone to write the code.
If you want to write it yourself then I suggest you follow UKHeliBob's advice and learn to code the individual sections by themselves before trying to combine everything.
BTW, You're more likely to have people look at images you upload if you insert them in your post. I posted some instructions how to do this here.