Transmitting midi noteon and ccs using Serial1 (Tx pin19) to Processing

thank you for your response and for clarification of the config -
can i use Serial1 with the Hairless midi serial bridge ? (i'm going to check out Hairless now)

or can i first use the Serial monitor to calibrate a sensor (mpu9150), turn off the monitor and then plug in the midi to pin 1 and carry on using serial with midi --> USB cable, without having to recompile?