en-us_commands:reference:debugstate
Differences
This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
| en-us_commands:reference:debugstate [2026/09/07 23:35] – 바깥 편집 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); |
| - | | + | |
| } | } | ||
| </ | </ | ||
| Line 37: | Line 34: | ||
| * Rapid repeated output can slow the control cycle and communication responses. | * Rapid repeated output can slow the control cycle and communication responses. | ||
| * Stop unnecessary Debug output before deploying for operation. | * Stop unnecessary Debug output before deploying for operation. | ||
| + | |||
| + | ===== Built-in Commands in the Same Category ===== | ||
| + | |||
| + | * [[: | ||
| + | * [[: | ||
| + | * [[: | ||
| + | * [[: | ||
| [[: | [[: | ||
en-us_commands/reference/debugstate.1788791733.txt.gz · Last modified: by 127.0.0.1
