From d70f5da5e0303b2d0035a284c98b7de013f80b66 Mon Sep 17 00:00:00 2001 From: rmackay9 Date: Thu, 12 Apr 2012 22:53:04 +0900 Subject: [PATCH] ArduCopter - LEDS - define pins to be used for COPTER_LEDS. Code by Robert Lefebvre --- ArduCopter/defines.h | 14 +++++++++----- 1 file changed, 9 insertions(+), 5 deletions(-) diff --git a/ArduCopter/defines.h b/ArduCopter/defines.h index 9f446232d3..12a722bc97 100644 --- a/ArduCopter/defines.h +++ b/ArduCopter/defines.h @@ -63,11 +63,15 @@ #define NORMAL_LEDS 0 #define AUTO_TRIM_LEDS 1 -// motor LEDs -#define FR_LED AN12 // Mega PE4 pin, OUT7 -#define RE_LED AN14 // Mega PE5 pin, OUT6 -#define RI_LED AN10 // Mega PH4 pin, OUT5 -#define LE_LED AN8 // Mega PH5 pin, OUT4 +// COPTER LEDs +#define COPTER_LED_1 AN8 // Motor LED +#define COPTER_LED_2 AN9 // Motor LED +#define COPTER_LED_3 AN10 // Motor LED +#define COPTER_LED_4 AN11 // Motor LED +#define COPTER_LED_5 AN12 // Motor or Aux LED +#define COPTER_LED_6 AN13 // Motor or Aux LED +#define COPTER_LED_7 AN14 // Motor or GPS LED +#define COPTER_LED_8 AN15 // Motor or GPS LED // Internal defines, don't edit and expect things to work // -------------------------------------------------------