en-us_commands:reference:debugstate
Differences
This shows you the differences between two versions of the page.
| Next revision | Previous revision | ||
| en-us_commands:reference:debugstate [2026/09/07 21:52] – 만듦 - 바깥 편집 127.0.0.1 | en-us_commands:reference:debugstate [2026/09/14 20:30] (current) – external edit 127.0.0.1 | ||
|---|---|---|---|
| Line 16: | Line 16: | ||
| <code cpp> | <code cpp> | ||
| - | if (debugState()) debugln(F(" | + | void setup() { |
| + | debugStart(Serial, | ||
| + | } | ||
| + | |||
| + | void loop() { | ||
| + | | ||
| + | if (debugState()) { // Check whether debug output is enabled. | ||
| + | | ||
| + | } | ||
| + | delay(500); | ||
| + | } | ||
| </ | </ | ||
| Line 24: | 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.1788785565.txt.gz · Last modified: by 127.0.0.1
