Fixed integer divide of millis() in arduino code.