"I have done this and yet it still comes up with an error now saying
"fatal error: c_library_v2/common/mavlink.h: No such file or directory"
I am confused to why it still isn't compiling when the path on the code and the library…"
"I use this library now - https://github.com/mavlink/c_library_v2
clone this to your library folder on i.e. "Documents/Arduino/libraries"
and I include it like this on my sketch
I realise this is 3 years late but I was using your code to work on the same project as yours. To interface pixhawk and arduino uno and programme it to arm/disarm and to make it autonomous at one point.
I put your code into arduino…"