Shop OBEX P1 Docs P2 Docs Learn Events
DFPlayer — Parallax Forums

DFPlayer

I am trying to use the serial communication on the propeller to interface with the MP3 DFPlayer. I need to send the following string of chars at 9600 baud.

Change the volume : 7e,ff,06,06,00,00,1e,ef
Play track one : 7e,ff,06,03,00,00,0e,ef

However, it appears that the propeller will not send out $00 characters as a command. Is there a better way of making this happen

Comments

  • serial.start(2, 3, %0000, 9_600)

    Serial.Tx($7E) ' Init the Catalex MP3 player
    Serial.Tx($FF)
    Serial.Tx($06)
    Serial.Tx($0C)
    Serial.Tx($00)
    Serial.Tx($00)
    Serial.Tx($00)
    Serial.Tx($EF)

  • Thank you!!! It worked :)

Sign In or Register to comment.