en-us_commands:reference:debugstate
Differences
This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revision | |||
| en-us_commands:reference:debugstate [2026/09/08 00:53] – 바깥 편집 127.0.0.1 | en-us_commands:reference:debugstate [2026/09/14 20:30] (current) – external edit 127.0.0.1 | ||
|---|---|---|---|
| Line 17: | Line 17: | ||
| <code cpp> | <code cpp> | ||
| void setup() { | void setup() { | ||
| - | debugStart(Serial, | + | debugStart(Serial, |
| - | debugln(F(" | + | |
| } | } | ||
| void loop() { | void loop() { | ||
| - | | + | |
| - | if (debugState()) { // Return | + | if (debugState()) { // Check whether debug output is enabled. |
| - | | + | |
| - | debugln(input); | + | |
| } | } | ||
| - | | + | delay(500); |
| - | | + | |
| } | } | ||
| </ | </ | ||
en-us_commands/reference/debugstate.1788796396.txt.gz · Last modified: by 127.0.0.1
