LUFA Library

Board specific LED driver header for the Arduino Leonardo board. More...

Macros

#define LEDS_ALL_LEDS   (LEDS_LED1 | LEDS_LED2 | LEDS_LED3)
 
#define LEDS_LED1   (1 << 0)
 
#define LEDS_LED2   (1 << 5)
 
#define LEDS_LED3   (1 << 7)
 
#define LEDS_NO_LEDS   0
 

Detailed Description

Board specific LED driver header for the Arduino Leonardo board (http://arduino.cc/en/Main/arduinoBoardLeonardo).

NameColorInfoActive LevelPort Pin
LEDS_LED1YellowRXLowPORTB.0
LEDS_LED2YellowTXLowPORTD.5
LEDS_LED3YellowGeneral IndicatorHighPORTC.7

Macro Definition Documentation

◆ LEDS_ALL_LEDS

#define LEDS_ALL_LEDS   (LEDS_LED1 | LEDS_LED2 | LEDS_LED3)

LED mask for all the LEDs on the board.

◆ LEDS_LED1

#define LEDS_LED1   (1 << 0)

LED mask for the first LED on the board.

◆ LEDS_LED2

#define LEDS_LED2   (1 << 5)

LED mask for the second LED on the board.

◆ LEDS_LED3

#define LEDS_LED3   (1 << 7)

LED mask for the third LED on the board.

◆ LEDS_NO_LEDS

#define LEDS_NO_LEDS   0

LED mask for none of the board LEDs.