|
|
|
@ -374,6 +374,8 @@ extern char seq_chord_names[7][4]; |
|
|
|
|
***********************************************************************/ |
|
|
|
|
void setup() |
|
|
|
|
{ |
|
|
|
|
Serial.begin(SERIAL_SPEED); |
|
|
|
|
|
|
|
|
|
#ifdef DISPLAY_LCD_SPI |
|
|
|
|
pinMode(SDCARD_CS_PIN, OUTPUT); |
|
|
|
|
pinMode(U8X8_CS_PIN, OUTPUT); |
|
|
|
@ -389,10 +391,10 @@ void setup() |
|
|
|
|
#endif |
|
|
|
|
|
|
|
|
|
#ifdef DEBUG |
|
|
|
|
setup_debug_message(); |
|
|
|
|
Serial.begin(SERIAL_SPEED); |
|
|
|
|
Serial.println(CrashReport); |
|
|
|
|
|
|
|
|
|
setup_debug_message(); |
|
|
|
|
|
|
|
|
|
generate_version_string(version_string, sizeof(version_string)); |
|
|
|
|
|
|
|
|
|
Serial.println(F("MicroDexed based on https://github.com/asb2m10/dexed")); |
|
|
|
@ -2212,8 +2214,10 @@ void set_fx_params(void) |
|
|
|
|
sgtl5000.setEQGain(5, mapfloat(configuration.fx.eq_5, EQ_5_MIN, EQ_5_MAX, -9.9, 9.9)); |
|
|
|
|
sgtl5000.setEQGain(6, mapfloat(configuration.fx.eq_6, EQ_6_MIN, EQ_6_MAX, -9.9, 9.9)); |
|
|
|
|
sgtl5000.setEQGain(7, mapfloat(configuration.fx.eq_7, EQ_7_MIN, EQ_7_MAX, -9.9, 9.9)); |
|
|
|
|
#ifdef DEBUG |
|
|
|
|
for (uint8_t band = 1; band <= 7; band++) |
|
|
|
|
sgtl5000.show_params(band); |
|
|
|
|
#endif |
|
|
|
|
#endif |
|
|
|
|
|
|
|
|
|
init_MIDI_send_CC(); |
|
|
|
|