Skip to content

Commit

Permalink
ArduCopter - LEDS - define pins to be used for COPTER_LEDS.
Browse files Browse the repository at this point in the history
Code by Robert Lefebvre
  • Loading branch information
rmackay9 committed Apr 12, 2012
1 parent 9bfaf80 commit a1b4105
Showing 1 changed file with 9 additions and 5 deletions.
14 changes: 9 additions & 5 deletions ArduCopter/defines.h
Expand Up @@ -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
// -------------------------------------------------------
Expand Down

0 comments on commit a1b4105

Please sign in to comment.