/ ! @brief Set the volume to a specific value out of 30. @param volume The volume level (0 - 30). */ /
| 262 | */ |
| 263 | /**************************************************************************/ |
| 264 | void DFPlayerMini_Fast::volume(uint8_t volume) |
| 265 | { |
| 266 | if (volume <= 30) |
| 267 | { |
| 268 | sendStack.commandValue = dfplayer::VOLUME; |
| 269 | sendStack.feedbackValue = dfplayer::NO_FEEDBACK; |
| 270 | sendStack.paramMSB = 0; |
| 271 | sendStack.paramLSB = volume; |
| 272 | |
| 273 | findChecksum(sendStack); |
| 274 | sendData(); |
| 275 | } |
| 276 | } |
| 277 | |
| 278 | |
| 279 |
nothing calls this directly
no outgoing calls
no test coverage detected