Skip to content

Instantly share code, notes, and snippets.

@mcgodfrey
Created March 26, 2016 02:15
Show Gist options
  • Save mcgodfrey/42d444ad6209b29e5b7d to your computer and use it in GitHub Desktop.
Save mcgodfrey/42d444ad6209b29e5b7d to your computer and use it in GitHub Desktop.
Code snippet for button presses in homebrew temperature logger
void loop() {
//...
//poll the buttons
button_up.poll();
button_down.poll();
button_select.poll();
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment