Last active
August 29, 2015 14:12
-
-
Save mroger/18e1f7260af8dca0ca85 to your computer and use it in GitHub Desktop.
Application data structure
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
// Buttons codes | |
#define btnRIGHT 0 | |
#define btnUP 1 | |
#define btnDOWN 2 | |
#define btnLEFT 3 | |
#define btnSELECT 4 | |
#define btnNONE 5 | |
// Delay between clock transitions | |
#define DELAY_VOLUME_TRANSITION 50 | |
// Definition of the 3-dimension array | |
#define MENU_DEPTH 3 | |
#define MENU_LINES 8 | |
#define MENU_TEXT 16 | |
// Arduino pin for backlight intensity control | |
#define BACKLIGHT_PIN 10 | |
// Arduino pins connected to digital potentiometers | |
// for volume control | |
#define UPDOWN_PIN 11 | |
#define INC_PIN 12 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment