Fix variable in Arduino code