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.
Definition in file board.h.
#include <stdint.h>
#include "board_common.h"
Go to the source code of this file.
Macros | |
#define | BTN0_INT_FLANK GPIO_FALLING |
Default interrupt flank definition for the button GPIO. | |
Functions | |
void | board_init (void) |
Initialize the board specific hardware. | |
Button pin definitions | |
#define | BTN0_PIN GPIO39 |
Default button GPIO pin definition. | |
#define | BTN0_MODE GPIO_IN |
Default button GPIO mode definition. More... | |
#define | BUTTON0_PIN BTN0_PIN |
Definition for compatibility with previous versions. | |
LED (on-board) configuration | |
#define | LED0_PIN GPIO14 |
#define | LED0_ACTIVE (1) |
LED is high active. | |
SX127X | |
#define | SX127X_PARAM_SPI_NSS GPIO18 |
#define | SX127X_PARAM_RESET GPIO23 |
#define | SX127X_PARAM_DIO0 GPIO26 |
#define | SX127X_PARAM_DIO1 GPIO_UNDEF /* Pin is not connected to the LoRa chip directly */ |
#define | SX127X_PARAM_DIO2 GPIO_UNDEF /* Pin is not connected to the LoRa chip directly */ |
#define | SX127X_PARAM_DIO3 GPIO_UNDEF |