Skip to content

Commit 31b2cdf

Browse files
committed
change piMode() to pinMode and remove 'do' on warning sentence
1 parent 493f516 commit 31b2cdf

File tree

6 files changed

+7
-7
lines changed

6 files changed

+7
-7
lines changed
-7 Bytes
Binary file not shown.
0 Bytes
Binary file not shown.

_build/html/_sources/api/gpio.rst.txt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ Initial configuration for use pin with input or output.
4040

4141
.. code-block:: arduino
4242
43-
void piMode(uint8_t pin, uint8_t mode);
43+
void pinMode(uint8_t pin, uint8_t mode);
4444
4545
* ``pin`` select GPIO
4646
* ``mode`` sets mode operation (``INPUT``, ``OUTPUT`` or ``INPUT_PULLUP``, ).
@@ -58,7 +58,7 @@ Write digital signal on pin.
5858
* ``val`` logic level write on pin (``HIGH`` or ``LOW``)
5959

6060
.. warning::
61-
If pin not set to ``OUTPUT`` on pinMode(), may do not work correct.
61+
If pin not set to ``OUTPUT`` on pinMode(), may not work correct.
6262

6363
digitalRead
6464
***********

_build/html/api/gpio.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -78,7 +78,7 @@ <h2>Arduino - ESP32 API<a class="headerlink" href="#arduino-esp32-api" title="Pe
7878
<section id="pinmode">
7979
<h3>pinMode<a class="headerlink" href="#pinmode" title="Permalink to this headline"></a></h3>
8080
<p>Initial configuration for use pin with input or output.</p>
81-
<div class="highlight-arduino notranslate"><div class="highlight"><pre><span></span><span class="kr">void</span><span class="w"> </span><span class="nf">piMode</span><span class="p">(</span><span class="kr">uint8_t</span><span class="w"> </span><span class="n">pin</span><span class="p">,</span><span class="w"> </span><span class="kr">uint8_t</span><span class="w"> </span><span class="n">mode</span><span class="p">);</span><span class="w"></span>
81+
<div class="highlight-arduino notranslate"><div class="highlight"><pre><span></span><span class="kr">void</span><span class="w"> </span><span class="nf">pinMode</span><span class="p">(</span><span class="kr">uint8_t</span><span class="w"> </span><span class="n">pin</span><span class="p">,</span><span class="w"> </span><span class="kr">uint8_t</span><span class="w"> </span><span class="n">mode</span><span class="p">);</span><span class="w"></span>
8282
</pre></div>
8383
</div>
8484
<ul class="simple">
@@ -98,7 +98,7 @@ <h3>digitalWrite<a class="headerlink" href="#digitalwrite" title="Permalink to t
9898
</ul>
9999
<div class="admonition warning">
100100
<p class="admonition-title">Warning</p>
101-
<p>If pin not set to <code class="docutils literal notranslate"><span class="pre">OUTPUT</span></code> on pinMode(), may do not work correct.</p>
101+
<p>If pin not set to <code class="docutils literal notranslate"><span class="pre">OUTPUT</span></code> on pinMode(), may not work correct.</p>
102102
</div>
103103
</section>
104104
<section id="digitalread">

_build/html/searchindex.js

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

docs/source/api/gpio.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ Initial configuration for use pin with input or output.
4040

4141
.. code-block:: arduino
4242
43-
void piMode(uint8_t pin, uint8_t mode);
43+
void pinMode(uint8_t pin, uint8_t mode);
4444
4545
* ``pin`` select GPIO
4646
* ``mode`` sets mode operation (``INPUT``, ``OUTPUT`` or ``INPUT_PULLUP``, ).
@@ -58,7 +58,7 @@ Write digital signal on pin.
5858
* ``val`` logic level write on pin (``HIGH`` or ``LOW``)
5959

6060
.. warning::
61-
If pin not set to ``OUTPUT`` on pinMode(), may do not work correct.
61+
If pin not set to ``OUTPUT`` on pinMode(), may not work correct.
6262

6363
digitalRead
6464
***********

0 commit comments

Comments
 (0)