/ ! @brief Send a config/command packet to the MP3 player. */ /
| 922 | */ |
| 923 | /**************************************************************************/ |
| 924 | void DFPlayerMini_Fast::sendData() |
| 925 | { |
| 926 | _serial->write(sendStack.start_byte); |
| 927 | _serial->write(sendStack.version); |
| 928 | _serial->write(sendStack.length); |
| 929 | _serial->write(sendStack.commandValue); |
| 930 | _serial->write(sendStack.feedbackValue); |
| 931 | _serial->write(sendStack.paramMSB); |
| 932 | _serial->write(sendStack.paramLSB); |
| 933 | _serial->write(sendStack.checksumMSB); |
| 934 | _serial->write(sendStack.checksumLSB); |
| 935 | _serial->write(sendStack.end_byte); |
| 936 | |
| 937 | if (_debug) |
| 938 | { |
| 939 | Serial.print("Sent "); |
| 940 | printStack(sendStack); |
| 941 | Serial.println(); |
| 942 | } |
| 943 | } |
| 944 | |
| 945 | |
| 946 |
nothing calls this directly
no outgoing calls
no test coverage detected