This page describes the GPIO functionality of the Flex RF module.
There are three general purpose IO pins on the Flex module that are configured for output and set on/off using the GPIO command. This is useful for switching LED’s on/off or interfacing with external circuitry.
The GPIO pins are Pin 3,4 and 5 (refer below diagram)
GPIO Default Setting
Each GPIO pin is configured for output and off by default.
How to use the GPIO command
Command: GPIO[p1][p2]
Response: GPIO[p1][p2]
Where:
p1 = A,B or C pin indicator from the above pinout diagram
p2 = 0 for off and 1 for on
The below example explains how to set GPIOA on:
python rf_config.py 03 GPIOA1
SENT : 03GPIOA1
RECEIVED : 03GPIOA1