Skip to content

Instantly share code, notes, and snippets.

@alexastrum
Created July 29, 2020 18:46
Show Gist options
  • Save alexastrum/c96e73d9db7c9c39e778a3c100d515b5 to your computer and use it in GitHub Desktop.
Save alexastrum/c96e73d9db7c9c39e778a3c100d515b5 to your computer and use it in GitHub Desktop.
void displaySuspend(String msg) {
displayText("Execution suspended: " + msg);
digitalWrite(LED_BUILTIN, HIGH); // Turn on LED.
while (true) {
// Stop execution.
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment