User's Manual

Table Of Contents
Nonvolatile Parameter Database
AT+i Programmer‘s Manual Version 8.32 34-31
34.3.23 +iADCL ADC Level
Syntax:
AT+iADCL=<level>
Specifies an ADC base level, or threshold, in the range
0-255 that corresponds to an analog voltage measured on the
input pin of iChip‘s A/D converter.
Together with ADCD, these two parameters determine when
the A/D converter asserts the GPIO pin specified by the ADCP
parameter. ADCL must be greater than ADCD.
Parameters:
level=0
A/D converter polling is disabled
level=1-255
ADC threshold level
Default:
0 (polling disabled)
Result Code:
I/OK
If level is within limits
I/ERROR
Otherwise
AT+iADCL?
Reports the current value followed by I/OK.
AT+iADCL=?
Returns the message “0-255” followed by I/OK.