Using Lemur with midi sequencer based on Grids

Before getting into Eurorack world decided to touch the grounds and try modified Grids firmware via midi.
Signal flow:
Logic Pro sending midi clock to Teensy.
Lemur sending midi control changes to Teensy ( via Logic )
Teensy sending midi notes to control drum machine ( Ultrabeat ) back to Logic.
Work in progress.