Board specific definitions for TTGO T-Beam board.
More...
Board specific definitions for TTGO T-Beam board.
TTGO T-Beam is an ESP32 development board with 8 MB Flash that uses the EPS32 chip directly. It integrates a SemTech SX1276 or SX1278 for LoRaWAN communication in the 433 MHz or the 868/915 MHz band, respectively. Additionally, it has an OLED display connected via I2C on board.
For detailed information about the configuration of ESP32 boards, see section Common Peripherals.
- Note
- Most definitions can be overridden by an application-specific board configuration.
- Author
- Yegor Yefremov yegor.nosp@m.slis.nosp@m.ts@go.nosp@m.ogle.nosp@m.mail..nosp@m.com
Definition in file board.h.
#include <stdint.h>
#include "board_common.h"
Go to the source code of this file.
|
#define | BTN0_INT_FLANK GPIO_FALLING |
| Default interrupt flank definition for the button GPIO.
|
|
|
#define | BTN0_PIN GPIO39 |
| Default button GPIO pin definition.
|
|
#define | BTN0_MODE GPIO_IN |
| Default button GPIO mode definition.
|
|
#define | BUTTON0_PIN BTN0_PIN |
| Definition for compatibility with previous versions.
|
|
◆ BTN0_INT_FLANK
#define BTN0_INT_FLANK GPIO_FALLING |
Default interrupt flank definition for the button GPIO.
Definition at line 67 of file board.h.
◆ BTN0_MODE
Default button GPIO mode definition.
Since the GPIO of the button is pulled up with an external resistor, the mode for the GPIO pin has to be GPIO_IN.
Definition at line 55 of file board.h.
◆ BTN0_PIN
Default button GPIO pin definition.
Definition at line 46 of file board.h.
◆ BUTTON0_PIN
#define BUTTON0_PIN BTN0_PIN |
Definition for compatibility with previous versions.
Definition at line 60 of file board.h.
◆ LED0_ACTIVE
LED is high active.
Definition at line 77 of file board.h.
◆ LED0_PIN
◆ SX127X_PARAM_DIO0
#define SX127X_PARAM_DIO0 GPIO26 |
◆ SX127X_PARAM_DIO1
#define SX127X_PARAM_DIO1 GPIO_UNDEF /* Pin is not connected to the LoRa chip directly */ |
◆ SX127X_PARAM_DIO2
#define SX127X_PARAM_DIO2 GPIO_UNDEF /* Pin is not connected to the LoRa chip directly */ |
◆ SX127X_PARAM_DIO3
◆ SX127X_PARAM_RESET
#define SX127X_PARAM_RESET GPIO23 |
◆ SX127X_PARAM_SPI_NSS
#define SX127X_PARAM_SPI_NSS GPIO18 |