<ruby id="bdb3f"></ruby>

    <p id="bdb3f"><cite id="bdb3f"></cite></p>

      <p id="bdb3f"><cite id="bdb3f"><th id="bdb3f"></th></cite></p><p id="bdb3f"></p>
        <p id="bdb3f"><cite id="bdb3f"></cite></p>

          <pre id="bdb3f"></pre>
          <pre id="bdb3f"><del id="bdb3f"><thead id="bdb3f"></thead></del></pre>

          <ruby id="bdb3f"><mark id="bdb3f"></mark></ruby><ruby id="bdb3f"></ruby>
          <pre id="bdb3f"><pre id="bdb3f"><mark id="bdb3f"></mark></pre></pre><output id="bdb3f"></output><p id="bdb3f"></p><p id="bdb3f"></p>

          <pre id="bdb3f"><del id="bdb3f"><progress id="bdb3f"></progress></del></pre>

                <ruby id="bdb3f"></ruby>

                ??一站式輕松地調用各大LLM模型接口,支持GPT4、智譜、豆包、星火、月之暗面及文生圖、文生視頻 廣告
                ## 調用方法: `pinMode(pin,mode,automatic)` ## 參數 `pin`\- 用于設置引腳模式的引腳 `mode`\- 模式 - “模擬”、“輸入”、“輸入上拉”、“輸入下拉”、“輸出”、“開漏”、“af輸出”或“af opendrain”的字符串。如果要恢復到自動引腳模式設置,請不要包含此參數或使用“auto”。 `automatic`\- 可選,默認值為 false。如果為 true,后續命令將自動更改狀態(請參閱下面的注釋) ## 描述 設置給定引腳的模式。 * `auto`/`undefined`\- 不要更改狀態,但允許 /etc 更改 根據需要自動更改狀態[digitalWrite](digitalWrite.md) * `analog`\- 模擬輸入 * `input`\- 數字輸入 * `input_pullup`\- 數字輸入,內置~40k上拉電阻 * `input_pulldown`\- 數字輸入,內置~40k下拉電阻 * `output`\- 數字輸出 * `opendrain`\- 數字輸出,僅下拉至0v。發送 邏輯使引腳開路`1` * `opendrain_pullup`\- 數字輸出可下拉至0v。發送一個邏輯使能內部 ~40k 上拉電阻`1` * `af_output`\- 內置外設的數字輸出 * `af_opendrain`\- 內置外設的數字輸出,只拉動 低至 0V。發送邏輯使引腳開路`1` **注意:** 除非先調用 [digitalRead](digitalRead.md) 或 [digitalWrite](digitalWrite.md) ,否則會自動設置引腳模式。如果要將引腳設置為自動模式,只需要調用 ~~~ pinMode(pin, "auto"); ~~~ 或第三個參數設為true ~~~ pinMode(pin, "output", true); ~~~
                  <ruby id="bdb3f"></ruby>

                  <p id="bdb3f"><cite id="bdb3f"></cite></p>

                    <p id="bdb3f"><cite id="bdb3f"><th id="bdb3f"></th></cite></p><p id="bdb3f"></p>
                      <p id="bdb3f"><cite id="bdb3f"></cite></p>

                        <pre id="bdb3f"></pre>
                        <pre id="bdb3f"><del id="bdb3f"><thead id="bdb3f"></thead></del></pre>

                        <ruby id="bdb3f"><mark id="bdb3f"></mark></ruby><ruby id="bdb3f"></ruby>
                        <pre id="bdb3f"><pre id="bdb3f"><mark id="bdb3f"></mark></pre></pre><output id="bdb3f"></output><p id="bdb3f"></p><p id="bdb3f"></p>

                        <pre id="bdb3f"><del id="bdb3f"><progress id="bdb3f"></progress></del></pre>

                              <ruby id="bdb3f"></ruby>

                              哎呀哎呀视频在线观看