AP_Motors_test example can't running in my helicopter

the example is too old that i can’t running it in my helicopter. How do I modify the code to running it.

Version
Copter4.2

Airframe type
heli but no link peripheral hardware except the servo and its power supply

Hardware type
CubeOrange