Added example code for arduino