Fixes for Teensy-1.45 and Arduino-IDE-1.8.8

pull/4/head
Holger Wirtz 6 years ago
parent 493107327e
commit e5e4ea07ba
  1. 5
      MicroDexed.ino
  2. 8
      config.h

@ -162,7 +162,8 @@ void setup()
lcd.noAutoscroll(); lcd.noAutoscroll();
lcd.clear(); lcd.clear();
lcd.display(); 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"); lcd.show(1, 0, 16, "(c)parasiTstudio");
pinMode(BUT_L_PIN, INPUT_PULLUP); pinMode(BUT_L_PIN, INPUT_PULLUP);
@ -419,7 +420,7 @@ void handle_input(void)
while (midi_usb.read()) while (midi_usb.read())
{ {
#ifdef DEBUG #ifdef DEBUG
Serial.println(F("[MIDI-USB]")); Serial.println(F("[MIDI-USB-HOST]"));
#endif #endif
if (midi_usb.getType() >= 0xf0) // SysEX if (midi_usb.getType() >= 0xf0) // SysEX
{ {

@ -32,7 +32,7 @@
#define CONFIG_H_INCLUDED #define CONFIG_H_INCLUDED
// Initial values // Initial values
#define VERSION 1.0.0 #define VERSION "0.9.1"
#define MIDI_DEVICE Serial1 #define MIDI_DEVICE Serial1
#define USE_ONBOARD_USB_HOST 1 #define USE_ONBOARD_USB_HOST 1
#define MIDI_MERGE_THRU 1 #define MIDI_MERGE_THRU 1
@ -43,10 +43,10 @@
#define DEFAULT_SYSEXSOUND 0 #define DEFAULT_SYSEXSOUND 0
//#define DEXED_ENGINE DEXED_ENGINE_MODERN //#define DEXED_ENGINE DEXED_ENGINE_MODERN
#ifndef TEENSY_AUDIO_BOARD #ifndef TEENSY_AUDIO_BOARD
#define AUDIO_MEM 450 #define AUDIO_MEM 250
#define DELAY_MAX_TIME 600.0 #define DELAY_MAX_TIME 600.0
#else #else
#define AUDIO_MEM 900 #define AUDIO_MEM 500
#define DELAY_MAX_TIME 1200.0 #define DELAY_MAX_TIME 1200.0
#endif #endif
#define SAMPLE_RATE 44100 #define SAMPLE_RATE 44100
@ -71,7 +71,7 @@
// Debug output // Debug output
#define SERIAL_SPEED 38400 #define SERIAL_SPEED 38400
//#define DEBUG 1 #define DEBUG 1
#define SHOW_MIDI_EVENT 1 #define SHOW_MIDI_EVENT 1
#define SHOW_XRUN 1 #define SHOW_XRUN 1
#define SHOW_CPU_LOAD_MSEC 5000 #define SHOW_CPU_LOAD_MSEC 5000

Loading…
Cancel
Save