Adding arduino mode