User Tools

Site Tools


en-us_commands:reference:debugstart

This is an old revision of the document!


debugStart()

debugStart() sets the port and baud rate for debug output.

debugStart command operation flow

void debugStart()
void debugStart(unsigned long baudrate)
void debugStart(HardwareSerial& serialPort)
void debugStart(HardwareSerial& serialPort, unsigned long baudrate, uint8_t config = SERIAL_8N1)

Commands

Command Arguments Return Value Operation
debugStart() None void Sets the port and baud rate for debug output.

Example

debugStart(Serial, 115200, SERIAL_8N1);

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 Command List

en-us_commands/reference/debugstart.1788785565.txt.gz · Last modified: by 127.0.0.1

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki