Browse Source

APM_RC_APM2: updated comments for clarity

mission-4.1.18
Pat Hickey 13 years ago
parent
commit
99e96031f2
  1. 2
      libraries/APM_RC/APM_RC_APM2.cpp

2
libraries/APM_RC/APM_RC_APM2.cpp

@ -120,7 +120,7 @@ void APM_RC_APM2::Init( Arduino_Mega_ISR_Registry * isr_reg ) @@ -120,7 +120,7 @@ void APM_RC_APM2::Init( Arduino_Mega_ISR_Registry * isr_reg )
OCR3C = 0xFFFF;
ICR3 = 40000; // 0.5us tick => 50hz freq
//--------------- TIMER5: PPM INPUT ---------------------------------
//--------------- TIMER5: PPM INPUT, OUT10, and OUT11 ---------------
// Init PPM input on Timer 5
pinMode(48, INPUT); // PPM Input (PL1/ICP5)
pinMode(45, OUTPUT); // OUT10 (PL4/OC5B)

Loading…
Cancel
Save