CORE LPC17
app: modified tutorial 004
I need both Midi Inports on the Core PCB (Midi IN1, Midi IN2) in 1 Application
Midi IN1 = UART0 or 32
Midi IN2 = UART3? > I dont get something in there when I run this code:
void APP_MIDI_NotifyPackage(mios32_midi_port_t port, mios32_midi_package_t midi_package)
{
MIOS32_LCD_Clear();
MIOS32_LCD_PrintFormattedString(“%u”, port);
The display connected to the LPC17-Core now show “32” -when I send Data to Midi-IN1,
but it dont change when I send Data to Midi-IN2
in the config mios32_config.h
I addet this Lines:
#ifndef _MIOS32_CONFIG_H
#define _MIOS32_CONFIG_H
#define MIOS32_USE_MIDI
#define MIOS32_USE_UART
#define MIOS32_USE_UART_MIDI
#define MIOS32_MIDI_DEFAULT_PORT UART1
#define MIOS32_MIDI_DEBUG_PORT USB0
#define MIOS32_UART_NUM 4
#define MIOS32_UART0_ASSIGNMENT 1 //1=Midi, 0= Disabled, 2= COM
#define MIOS32_UART1_ASSIGNMENT 1
#define MIOS32_UART2_ASSIGNMENT 1
#define MIOS32_UART3_ASSIGNMENT 1
but that changed nothing
I need both UART In-Ports for my TRIGGER-Matrix-Project
where is my fault, what do i miss?