Just a small update to the code. I have added a schematic to the code files to show how the connections are done. It is really simple to the extreme.
BTW, it is very nice to see that this project has gained some followers. I am not sure why. Is it the simplicity? Or is it because everyone loves candles? In any case, I decided to create another type of candle as a first application of my "Visible Light Communication" project. The circuit will be just as simple!