35 #define USE_GEARED_CRANK
42 #define ALLOW_COMBO_MODE
58#define ALLOW_COMBO_MODE
68#define __TSUNAMI_USE_SERIAL1__
72#define __WT_USE_SERIAL5__
221const int pin_array[] = {-1, 2, 24, 3, 25, 26, 4, 27, 5, 28, 29, 6, 30,
222 7, 31, 8, 32, 33, 11, 34, 10, 35, 36, 9, 37};
224const int pin_array[] = {-1, 2, 24, 3, 25, 26, 4, 27, 5, 28, 29, 6, 30,
225 7, 31, 8, 32, 33, 18, 34, 19, 35, 36, 20, 37};
const String VERSION
Definition: config.h:6
const String REL_DATE
Definition: config.h:7
const int EX7_PIN
The pin to the EX7 button.
Definition: config.h:313
const int EX9_PIN
The pin to the EX9 button.
Definition: config.h:317
const int EX1_PIN
The pin to the EX1 button.
Definition: config.h:301
const int TPOSE_UP_INDEX
The position of the "T-UP" key on the keybox.
Definition: config.h:279
const int CRANK_PIN
The pin running to the crank.
Definition: config.h:290
const int BUZZ_PIN
The analog pin running to the buzz potentiometer/knob.
Definition: config.h:294
const int BIG_BUTTON_PIN
The pin running to the arcade, "auto-crank" button.
Definition: config.h:297
const int EX5_PIN
The pin to the EX5 button.
Definition: config.h:309
const int EX8_PIN
The pin to the EX8 button.
Definition: config.h:315
const int PEDAL_PIN
Pin used for the accessory pedal, if USE_PEDAL is enabled.
Definition: config.h:84
const int num_keys
The number of keys on the keybox.
Definition: config.h:233
const int pin_array[]
The ordered layout of the keybox keys/buttons.
Definition: config.h:221
const int X_INDEX
The position of the "X" key on the keybox.
Definition: config.h:243
const String EXTRA_LINE
This is a freeform line displayed on the About screen.
Definition: config.h:14
const int EX3_PIN
The pin to the EX3 button.
Definition: config.h:305
const float PEDAL_MAX_V
The max voltage reported by the accessory pedal.
Definition: config.h:91
const int BUTTON_3_INDEX
The position of the "3" key on the keybox.
Definition: config.h:263
const int BUTTON_5_INDEX
The position of the "5" key on the keybox.
Definition: config.h:271
const int A_INDEX
The position of the "A" key on the keybox.
Definition: config.h:247
const int EX10_PIN
The pin to the EX10 button.
Definition: config.h:319
const int TSUNAMI_OUT
The audio output channel used by the Tsunami unit.
Definition: config.h:65
const int EX4_PIN
The pin to the EX4 button.
Definition: config.h:307
const int EX2_PIN
The pin to the EX2 button.
Definition: config.h:303
const int BUTTON_4_INDEX
The position of the "4" key on the keybox.
Definition: config.h:267
const int B_INDEX
The position of the "B" key on the keybox.
Definition: config.h:251
const int BUTTON_2_INDEX
The position of the "2" key on the keybox.
Definition: config.h:259
const int BUTTON_1_INDEX
The position of the "1" key on the keybox.
Definition: config.h:255
const int TPOSE_DN_INDEX
The position of the "T-DOWN" key on the keybox.
Definition: config.h:283
const int LED_PIN
Pin used for the LED buzz indicator, if LED_KNOB is enabled.
Definition: config.h:78
const int BUTTON_6_INDEX
The position of the "6" key on the keybox.
Definition: config.h:275
const int EX6_PIN
The pin to the EX6 button.
Definition: config.h:311
const int BUZZ_SMOOTHING
The amount of buzz "smoothing" to start with when buzzing registers.
Definition: config.h:201
const int SPIN_THRESHOLD
The amount of spin necessary to make sound.
Definition: config.h:188
const int SPIN_STOP_THRESHOLD
The amount of spin below which sound stops.
Definition: config.h:194
const int SPIN_SAMPLES
The number of voltage samples per update.
Definition: config.h:158
const int MAX_SPIN
The maximum "spin" value.
Definition: config.h:171
const int SPIN_WEIGHT
The amount of spin to add when motion is detected.
Definition: config.h:176
const int BUZZ_DECAY
The amount of buzz "smoothing" to subtract when buzzing is not registering.
Definition: config.h:207
const int VOL_THRESHOLD
The lower voltage threshold for the crank to register motion.
Definition: config.h:165
const int SPIN_DECAY
The amount of spin to subtract when motion is not detected.
Definition: config.h:183
const int BUZZ_MIN
The minimum duration of buzz sounds.
Definition: config.h:142
const float EXPRESSION_VMAX
The crank speed in RPMs at which expression volume will max out.
Definition: config.h:101
const int MAX_WAIT_TIME
The maximum amount of time in microseconds to wait for crank movement.
Definition: config.h:129
const int SAMPLE_RATE
The delay between crank samples in microseconds.
Definition: config.h:124
const float V_THRESHOLD
The crank speed at which sound begins to play in RPMs.
Definition: config.h:117
const float DECAY_FACTOR
The multiplier applied to the velocity when no movement is detected.
Definition: config.h:134
const int NUM_SPOKES
The number of "spokes" on the optical crank wheel.
Definition: config.h:113
const int EXPRESSION_START
The minimum expression volume.
Definition: config.h:108