Fixed Arduino code (polling rate was too high)