Add arduino code to send analog value