Arduino and C++ codes