added arduino msg generation
worked on arduino code