Skip to content

Commit 6eab1d7

Browse files
committed
docs: Add analog IO guide, minor fixes to digital IO guide.
1 parent b2a84ff commit 6eab1d7

9 files changed

+445
-7
lines changed

docs/programming_guide/01_digital_io.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -277,8 +277,8 @@ Or you set the :py:attr:`digitalio.DigitalInOut.pull` property:
277277
>>> switch.pull = digitalio.Pull.UP
278278

279279
Just like with setting direction you can use either the pull parameter to the
280-
switch_to_input function or the pull property to set an input's pull-up or pull
281-
down resistor.
280+
switch_to_input function or the pull property to set an input's pull-up or
281+
pull-down resistor.
282282

283283
Now the digital input is configured with a pull-up resistor! Try reading the
284284
value of the input with the use the :py:attr:`digitalio.DigitalInOut.value`

docs/programming_guide/02_analog_io.rst

Lines changed: 442 additions & 5 deletions
Large diffs are not rendered by default.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Loading
Loading
Loading

docs/programming_guide/index.rst

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,3 +8,4 @@ This series of tutorials will progress through the basics of using CircuitPython
88
:numbered:
99

1010
01_digital_io.rst
11+
02_analog_io.rst

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy