arduino code sensor range