makes GPIO_PIN_RST optional for the sx1276
[ExpressLRS.git] / src / include / target / DIY_900_TX_TTGO_V1_SX127x.h
blobb3a769969c00408643ea9b5acfcd61518da3da92
1 // The name of the device in the LUA module
2 #ifndef DEVICE_NAME
3 #define DEVICE_NAME "DIY900 TTGO V1"
4 #endif
6 // Any device features
7 #define USE_OLED_I2C
9 // GPIO pin definitions
10 #define GPIO_PIN_NSS 18
11 #define GPIO_PIN_DIO0 26
12 #define GPIO_PIN_MOSI 27
13 #define GPIO_PIN_MISO 19
14 #define GPIO_PIN_SCK 5
15 #define GPIO_PIN_RST 14
16 #define GPIO_PIN_OLED_SDA 4
17 #define GPIO_PIN_OLED_SCK 15
18 #define GPIO_PIN_OLED_RST 16
19 #define GPIO_PIN_RCSIGNAL_RX 13
20 #define GPIO_PIN_RCSIGNAL_TX 13
21 #define GPIO_PIN_LED 2
22 #define GPIO_PIN_BUTTON 0
24 // Output Power
25 #define MinPower PWR_10mW
26 #define MaxPower PWR_50mW
27 #define POWER_OUTPUT_VALUES {8,12,15}