arduino code and change read processing