C++ code for LED on/off using arduino board