ja-jp_commands:reference:debugstate
差分
このページの2つのバージョン間の差分を表示します。
| 両方とも前のリビジョン前のリビジョン | |||
| ja-jp_commands:reference:debugstate [2026/09/08 00:53] – 바깥 편집 127.0.0.1 | ja-jp_commands:reference:debugstate [2026/09/14 20:30] (現在) – 外部編集 127.0.0.1 | ||
|---|---|---|---|
| 行 17: | 行 17: | ||
| <code cpp> | <code cpp> | ||
| void setup() { | void setup() { | ||
| - | debugStart(Serial, | + | debugStart(Serial, |
| - | debugln(F(" | + | |
| } | } | ||
| void loop() { | void loop() { | ||
| - | | + | |
| - | if (debugState()) { // デバッグ出力の有効状態を返します。 | + | if (debugState()) { // デバッグ出力が有効か確認します。 |
| - | | + | |
| - | debugln(input); | + | |
| } | } | ||
| - | | + | delay(500); |
| - | | + | |
| } | } | ||
| </ | </ | ||
ja-jp_commands/reference/debugstate.1788796396.txt.gz · 最終更新: by 127.0.0.1
