New arduino code