added new arduino code