1 // The name of the device in the LUA module
3 #define DEVICE_NAME "DIY900 TTGO V2"
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
24 #define MinPower PWR_10mW
25 #define MaxPower PWR_50mW
26 #define POWER_OUTPUT_VALUES {8,12,15}