Switching on an LED

I didn’t have very much success this week with figuring out how to get a switch to turn on an LED. What I had wanted to do was to create a “mood” lamp, where with one switch you would get a white light, and the next switch would turn on two additional LEDs to create a different ambience.

While I could get my switch to read to the serial reader it didn’t seem to work with the switch code and the LED however.

For the integration of the object, I wanted some base to hide the arduino board and connections, the switch to be accessible on the side at the bottom and for the light to be diffused and accented through a filter.

Integration of switch and LED

Diffusion of light