created C++ code that will compile without arduino IDE