Skip to content

Commit 9aade5b

Browse files
Update adc.rst (#1502)
1 parent 3c408da commit 9aade5b

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

docs/adc.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ need to be periodically sampled to be read by applications, easily, such as:
1212
* Light dependent resistors (LDR), etc.
1313

1414

15-
Up to 4 analog samples can be recorded by the hardware (``A0`` ... ``A4``), and all
15+
Up to 4 analog samples can be recorded by the hardware (``A0`` ... ``A3``), and all
1616
recording is done at 16-bit levels (but be aware that the ADC in the Pico will only
1717
ever return values between 0...4095).
1818

@@ -29,7 +29,7 @@ ADC Input API
2929
ADCInput(pin0 [, pin1, pin2, pin3])
3030
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
3131
Creates an ADC input object which will record the pins specified in the code.
32-
Only pins ``A0`` ... ``A4`` can be used, and they must be specified in increasing
32+
Only pins ``A0`` ... ``A3`` can be used, and they must be specified in increasing
3333
order (i.e. ``ADCInput(A0, A1);`` is valid, but ``ADCInput(A1, A0)`` is not.
3434

3535
bool setBuffers(size_t buffers, size_t bufferWords)

0 commit comments

Comments
 (0)