Loading...
Searching...
No Matches
board.h File Reference

Board definitions for Arduino Nano ESP32 boards. More...

Detailed Description

Board definitions for Arduino Nano ESP32 boards.

The board definitions in this file are valid for the Arduino Nano ESP32 board.

Any modifications required for specific applications can be overridden by application-specific board configuration.

Author
Gunar Schorcht gunar.nosp@m.@sch.nosp@m.orcht.nosp@m..net

Definition in file board.h.

#include <stdint.h>
#include "board_common.h"
+ Include dependency graph for board.h:
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

LED (on-board) configuration

The board has a RGB-LED connected with separate color LEDs.

#define LED0_PIN   GPIO46
 LED0 pin (red)
 
#define LED0_ACTIVE   (0)
 LED0 is low active.
 
#define LED1_PIN   GPIO0
 LED1 pin (green)
 
#define LED1_ACTIVE   (0)
 LED1 is low active.
 
#define LED2_PIN   GPIO45
 LED2 pin (blue)
 
#define LED2_ACTIVE   (0)
 LED2 is low active.
 
#define LED_RED_PIN   LED0_PIN
 LED0 is a red LED.
 
#define LED_GREEN_PIN   LED1_PIN
 LED1 is a green LED.
 
#define LED_BLUE_PIN   LED2_PIN
 LED2 is a blue LED.
 

Macro Definition Documentation

◆ LED0_ACTIVE

#define LED0_ACTIVE   (0)

LED0 is low active.

Definition at line 32 of file board.h.

◆ LED0_PIN

#define LED0_PIN   GPIO46

LED0 pin (red)

Definition at line 31 of file board.h.

◆ LED1_ACTIVE

#define LED1_ACTIVE   (0)

LED1 is low active.

Definition at line 35 of file board.h.

◆ LED1_PIN

#define LED1_PIN   GPIO0

LED1 pin (green)

Definition at line 34 of file board.h.

◆ LED2_ACTIVE

#define LED2_ACTIVE   (0)

LED2 is low active.

Definition at line 38 of file board.h.

◆ LED2_PIN

#define LED2_PIN   GPIO45

LED2 pin (blue)

Definition at line 37 of file board.h.

◆ LED_BLUE_PIN

#define LED_BLUE_PIN   LED2_PIN

LED2 is a blue LED.

Definition at line 49 of file board.h.

◆ LED_GREEN_PIN

#define LED_GREEN_PIN   LED1_PIN

LED1 is a green LED.

Definition at line 45 of file board.h.

◆ LED_RED_PIN

#define LED_RED_PIN   LED0_PIN

LED0 is a red LED.

Definition at line 41 of file board.h.