Added arduino mode.