Created
May 2, 2017 17:04
-
-
Save kelliott121/44cceeca48af4b19d7372b4449ce0b7c to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// Set the DPad buttons to pullup inputs | |
pinMode(RIGHT, INPUT_PULLUP); | |
pinMode(UP, INPUT_PULLUP); | |
pinMode(LEFT, INPUT_PULLUP); | |
pinMode(DOWN, INPUT_PULLUP); | |
// Set the action buttons to pullup inputs | |
pinMode(A, INPUT_PULLUP); | |
pinMode(B, INPUT_PULLUP); | |
pinMode(X, INPUT_PULLUP); | |
pinMode(Y, INPUT_PULLUP); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment