INIT的部分可以參考 82行 void APM_RC_APM2::Init( Arduino_Mega_ISR_Registry * isr_reg ) { // --------------------- TIMER1: OUT1 and OUT2 ----------------------- digitalWrite(12,HIGH); // pulling high before changing to output avoids a momentary drop of the pin to low because the ESCs have a pull-down resistor it seems digitalWrite(11,HIGH); pinMode(12,OUTPUT); // OUT1 (PB6/OC1B) pinMode(11,OUTPUT); // OUT2 (PB5/OC1A) digitalWrite(12,HIGH); // pulling high before changing to output avoids a momentary drop of the pin to low because the ESCs have a pull-down resistor it seems digitalWrite(11,HIGH); ...........................