en-us_commands:reference:debugstart
This is an old revision of the document!
Table of Contents
debugStart()
debugStart() sets the port and baud rate for debug output.
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.
en-us_commands/reference/debugstart.1788785565.txt.gz · Last modified: by 127.0.0.1
