Skip to content

echoToAlt()

CreateiveRobotics edited this page Mar 7, 2020 · 2 revisions
void echoToAlt(bool sState)

Enable or disable echoing of incoming characters to the alt stream. When enabled, any characters arriving at the incoming stream are copied to the alt stream.

This can be used for debugging so that incoming commands can be monitored, or the alt stream could be a file used to log a command session.

Example:

echoToAlt(ON); //Enable echoing to the alt stream

echoToAlt(OFF); //Disable echoing to the alt stream
Clone this wiki locally