9.28.1.1 +IOCFG
This command is used to configure a pin as an ADC, PWM, or Digital I/O with direction.
Security – Default Security for the command is:
GGGG
Command |
Description |
Security |
---|---|---|
AT+IOCFG=<PIN>,<TYPE> |
Configure pin as ADC or PWM | GGGG |
AT+IOCFG=<PIN>,<TYPE>,<DIR> |
Configure pin as Digital I/O | GGGG |
Parameter Name |
Type |
Description |
---|---|---|
| Integer | Pin/Channel to be used |
| Integer | Pin type
|
| Integer | Configure pin as Output or Input
|