MCPcopy Create free account
hub / github.com/PowerBroker2/DFPlayerMini_Fast / printStack

Method printStack

src/DFPlayerMini_Fast.cpp:1190–1203  ·  view source on GitHub ↗

/ ! @brief Print the entire contents of the specified config/command packet for debugging purposes. @param _stack Struct containing the config/command packet to print. */ /

Source from the content-addressed store, hash-verified

1188 */
1189 /**************************************************************************/
1190void DFPlayerMini_Fast::printStack(stack _stack)
1191{
1192 Serial.println("Stack:");
1193 Serial.print(_stack.start_byte, HEX); Serial.print(' ');
1194 Serial.print(_stack.version, HEX); Serial.print(' ');
1195 Serial.print(_stack.length, HEX); Serial.print(' ');
1196 Serial.print(_stack.commandValue, HEX); Serial.print(' ');
1197 Serial.print(_stack.feedbackValue, HEX); Serial.print(' ');
1198 Serial.print(_stack.paramMSB, HEX); Serial.print(' ');
1199 Serial.print(_stack.paramLSB, HEX); Serial.print(' ');
1200 Serial.print(_stack.checksumMSB, HEX); Serial.print(' ');
1201 Serial.print(_stack.checksumLSB, HEX); Serial.print(' ');
1202 Serial.println(_stack.end_byte, HEX);
1203}
1204
1205
1206

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected