by Visual Micro
14. April 2018 04:40
The "when hit" breakpoint command can be used to output custom arrays andother data from the Arduino during debug sessions.
For example we can add a command:- MyArray values are {GetMyArrayValues()}
This will output an array as semi-colon sep values in the debugger windows during debugging.
char GetMyArrayValues()
{
for (int i = 0; i < inputBufferSize; i++)
{
Serial.print(inputBuffer[i]);
Serial.print("; ");
}
return ''
}