1 // The name of the device in the LUA module
3 #define DEVICE_NAME "DIY900 RFM95"
6 // GPIO pin definitions
8 #define GPIO_PIN_DIO0 26
9 #define GPIO_PIN_DIO1 25
10 #define GPIO_PIN_MOSI 23
11 #define GPIO_PIN_MISO 19
12 #define GPIO_PIN_SCK 18
13 #define GPIO_PIN_RST 14
14 #define GPIO_PIN_RX_ENABLE 13
15 #define GPIO_PIN_TX_ENABLE 12
16 #define GPIO_PIN_RCSIGNAL_RX 2
17 #define GPIO_PIN_RCSIGNAL_TX 2 // so we don't have to solder the extra resistor, we switch rx/tx using gpio mux
18 #define GPIO_PIN_LED 27
21 #define MinPower PWR_10mW
22 #define MaxPower PWR_50mW
23 #define POWER_OUTPUT_VALUES {8,12,15}