Low power WIFI module user manual http://en.usr.cnJinan USR IOT Technology Limited tec@usr.cnPage 23/722.7. GPIO/PWM FunctionUSR-WIFI232-T module can provide many GPIOs, which include max 3 PWMcontrol pins. User devices can read/write GPIO/PWM pins status.Table 7 USR-WIFI232-T GPIO/PWM Pin Mapping TableWhen module works at PWM mode, PC and other equipts can setup connection(TCP/UDP) through WiFi, then read/write GPIO/PWM information throughcommand. GPIO n OUT 0, Set GPIOn as output and output ‘0’, Response GPIO OKor GPIO NOK; GPIO n OUT 1, Set GPIOn as output and output ‘1’, Response GPIO OKor GPIO NOK; GPIO n GET, Read GPIOn pin status, Response +ok=1 or GPIO NOK GPIO n SET, Save GPIOn set, Response GPIO OK or GPIO NOK PWM n frequency duty, Set PWMn Channel output, Response GPIO OK orGPIO NOK PWM n GET, Read PWMn Channel set, Response +ok=frequency duty or PWMNOK PWM n SET, Save PWMn Channel set, Response PWM OK or PWM NOKNotes: Please refer to Appendix B for details to use GPIO/PWM.2.8. SOCKET B FunctionUSR-WIFI232-T support double socket communication, the socket B function is disabled bydefault.After the module is started, send command “AT+SOCKB” to set the connection parameter,send command “AT+TCPDISB=on” to try to connect with TCP server, the module will stopconnecting after three failures. Send command “AT+TCPDISB=on” to make connection.Send command “AT+TCPDISB=off” to close connection. Send command “AT+TCPLKB” toinqure TCP connection.Pin Num ConfiguredFunctionDescribtion DefaultSetting Type5 UART0_RX UART0_RX GPIO5 I6 UART0_TX UART0_TX GPIO6 O8 PWM Channel 3 PWM_3 GPIO18 I/O9 PWM Channel 2 PWM_2 GPIO12 I/O10 PWM Channel 1 PWM_1 GPIO11 I/O