Add missing wifi targets for some DIY modules (#1210)
[ExpressLRS.git] / src / include / target / DIY_900_TX_TTGO_V2_SX127x.h
blobad796a6ed0575869dac3c9fcaa589c1a407394e0
1 // The name of the device in the LUA module
2 #ifndef DEVICE_NAME
3 #define DEVICE_NAME "DIY900 TTGO V2"
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 12 //was wrong 14
16 #define GPIO_PIN_OLED_SDA 21
17 #define GPIO_PIN_OLED_SCK 22
18 #define GPIO_PIN_OLED_RST U8X8_PIN_NONE
19 #define GPIO_PIN_RCSIGNAL_RX 13
20 #define GPIO_PIN_RCSIGNAL_TX 13
21 #define GPIO_PIN_BUTTON 39
23 // Output Power
24 #define MinPower PWR_10mW
25 #define MaxPower PWR_50mW
26 #define POWER_OUTPUT_VALUES {8,12,15}