wrote arduino code for sending