Helicopter avionics software for PIC32MX795F512L