Powering motor from Pixhawk controller

I have a Pixhawk 5x and am trying to connect it to a setup on my drone meant to power a stepper motor… It’s an Elegoo Uno R3 arduino connected to a ULN2003 Stepper Driver that’s driving a 28BYJ-48 motor. How can I connect the Pixhawk to the arduino so that I could remotely control it from my GCS (Misson Planner) or my controller (RM TX16S MKII). Thoughts? :thinking: :thinking: