User Tools

Site Tools


en-us_commands:reference:debugstop

debugStop()

debugStop() stops debug output.

debugStop command operation flow

void debugStop()

Commands

Command Arguments Return Value Operation
debugStop() None void Stops debug output.

Example

void setup() {
  debugStart(115200);  // Set the port and baud rate for debug output.
}
 
void loop() {
  debugln("before stop");  // Output the debug value followed by a newline.
  debugStop();  // Stop debug output.
  debugln("ignored");  // Output the debug value followed by a newline.
}

Precautions

  • Do not use the same port for Debug and product communication.
  • Rapid repeated output can slow the control cycle and communication responses.
  • Stop unnecessary Debug output before deploying for operation.

Built-in Commands in the Same Category

en-us_commands/reference/debugstop.txt · Last modified: by 127.0.0.1

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki