Added the arduino code part for reference