Fix robot problems regarding new version of Arduino