Source code for my Arduino lamp project