Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit6eab1d7

Browse files
committed
docs: Add analog IO guide, minor fixes to digital IO guide.
1 parentb2a84ff commit6eab1d7

File tree

9 files changed

+445
-7
lines changed

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.
13 Bytes
Binary file not shown.
143 KB
Binary file not shown.
133 KB
Binary file not shown.
-320 Bytes
Loading
297 KB
Loading
287 KB
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)

[8]ページ先頭

©2009-2025 Movatter.jp