The code where Arduino communicates with Pixhawk does not compile

Will try tomorrow.

Which board are you compiling for?