Logic Pro X Logic not seeing MIDI messages

Hi everyone..........not sure if anyone can help but I've got MIDI detection problems with Logic Pro X. I have built an expansive MIDI rig using the Arduino platform. Two of the controllers use Teensy 2.0 and they work fine but my main one (the Claude Controller which has 96 controls sending CC's) and is using a Teensy 3.2 is not being received by Logic. It sees it on the clicks & ports page & in the Audio MIDI setup but just won't receive MIDI. Occasionally I can get it to see it for a minute or so but if I try & map it, it disappears. The controller works in Mainstage, Ableton and Logic 9 so I can rule out hardware & cables. It also is seen by the MIDI Monitor App until I boot up Logic. I'm using a 2015 Macbook Pro with High Sierra. I've tried deleting the logic.cs files in the library and a Logic X reinstall. From what I've read this is a common problem. I can't see any reason why it won't work.
I'd very much appreciate any other ideas I could try.

Cheers Claude.
 
Top