How do I use/configure GPIO pins on an RN2483 device?
The RN2483 module has 14 GPIO pins. These lines can be connected to switches, LEDs, or relay outputs. The pins can be either logic inputs or outputs, and some pins have analog input capability that can be accessed via the module firmware. These pins have limited sink and source capabilities.
The command sys set pinmode <pinname> <pinmode> can be used to set a GPIO as digital output, digital input or analog. The pin name is represented by the string <pinname>. Parameter values can be GPIO0-GPIO13, UART_CTS, UART_RTS, TEST0, TEST1. The pin mode is represented by the string pinmode. Parameter values can be digout, digin, ana. The response is ok if the parameters are valid or invalid_param if the parameters are not valid. More about this command can be found in the "RN2483 LoRa® Technology Module Command Reference User's Guide", which can be found under Documents > User Guides of the RN2483 product page.