If you used the software serial library for the LCD and the hardware serial port for the midi out it should work fine.