From e5e4ea07bac428fc0df8b71bf044ef40e3cee397 Mon Sep 17 00:00:00 2001 From: Holger Wirtz Date: Wed, 2 Jan 2019 07:44:54 +0100 Subject: [PATCH] Fixes for Teensy-1.45 and Arduino-IDE-1.8.8 --- MicroDexed.ino | 5 +++-- config.h | 8 ++++---- 2 files changed, 7 insertions(+), 6 deletions(-) diff --git a/MicroDexed.ino b/MicroDexed.ino index a79689c..534a8de 100644 --- a/MicroDexed.ino +++ b/MicroDexed.ino @@ -162,7 +162,8 @@ void setup() lcd.noAutoscroll(); lcd.clear(); lcd.display(); - lcd.show(0, 0, 16, " MicroDexed"); + lcd.show(0, 0, 16, "MicroDexed"); + lcd.show(0, 11, 16, VERSION); lcd.show(1, 0, 16, "(c)parasiTstudio"); pinMode(BUT_L_PIN, INPUT_PULLUP); @@ -419,7 +420,7 @@ void handle_input(void) while (midi_usb.read()) { #ifdef DEBUG - Serial.println(F("[MIDI-USB]")); + Serial.println(F("[MIDI-USB-HOST]")); #endif if (midi_usb.getType() >= 0xf0) // SysEX { diff --git a/config.h b/config.h index 12923fe..8f09578 100644 --- a/config.h +++ b/config.h @@ -32,7 +32,7 @@ #define CONFIG_H_INCLUDED // Initial values -#define VERSION 1.0.0 +#define VERSION "0.9.1" #define MIDI_DEVICE Serial1 #define USE_ONBOARD_USB_HOST 1 #define MIDI_MERGE_THRU 1 @@ -43,10 +43,10 @@ #define DEFAULT_SYSEXSOUND 0 //#define DEXED_ENGINE DEXED_ENGINE_MODERN #ifndef TEENSY_AUDIO_BOARD -#define AUDIO_MEM 450 +#define AUDIO_MEM 250 #define DELAY_MAX_TIME 600.0 #else -#define AUDIO_MEM 900 +#define AUDIO_MEM 500 #define DELAY_MAX_TIME 1200.0 #endif #define SAMPLE_RATE 44100 @@ -71,7 +71,7 @@ // Debug output #define SERIAL_SPEED 38400 -//#define DEBUG 1 +#define DEBUG 1 #define SHOW_MIDI_EVENT 1 #define SHOW_XRUN 1 #define SHOW_CPU_LOAD_MSEC 5000