attachInterrupt(buttonInt, upward, LOW);It is unusual to use LOW as an ISR trigger state because the ISR will be triggered constantly while the pin is LOW. It would be more usual to use FALLING to trigger the ISR when the pin goes LOW, but you have not said what you are trying to do or why.