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.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
{

@ -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

Loading…
Cancel
Save